Persona is no longer an option for authentication on BMO. For more details see Persona Deprecated.
Last Comment Bug 740979 - implement :-moz-autofill pseudo-class on input elements with an autofilled value
: implement :-moz-autofill pseudo-class on input elements with an autofilled value
Status: NEW
Product: Core
Classification: Components
Component: CSS Parsing and Computation (show other bugs)
: Trunk
: All All
: -- normal with 6 votes (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: Jet Villegas (:jet)
Depends on:
  Show dependency treegraph
Reported: 2012-03-30 14:47 PDT by Tantek Çelik
Modified: 2016-10-18 21:27 PDT (History)
7 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description Tantek Çelik 2012-03-30 14:47:59 PDT
We should implement a CSS :-moz-autofill pseudo-class that selects input elements when they are showing an autofilled value.

Use-case: to be able to change the default background color highlighting that is applied when input elements are auto-filled.

This feature (as :autofill) is currently one of the proposed features for CSS4-UI:
though it could be spec'd as part of Selectors4 instead since that's further along than CSS4-UI:

See related webkit bug / feature request:
Comment 1 Mounir Lamouri (:mounir) 2012-03-30 15:05:35 PDT
Isn't that a threat regarding user privacy?
Comment 2 isherman 2012-04-30 16:29:18 PDT
Mounir: Please see the discussion in [ ]: Site authors can already override the coloring using JS hackery (e.g. by swapping in a new <input> element to replace the existing one, copying over the autofilled data), so there's not -- to the best of my knowledge -- any new security or privacy risk from this proposal.
Comment 3 percyley 2016-10-18 21:27:40 PDT
'Measuring the impact of autofill on your forms'

Note You need to log in before you can comment on or make changes to this bug.