:autofill pseudo-class. (original) (raw)

WebKit-based browsers expose :-webkit-autofill to the web and it's used in a bunch of sites.

Firefox has :-moz-autofill, but it's internal and not exposed to the web.

As I suspect removing the WebKit pseudo-class is not possible/desirable, it'd be nice if we could expose it as :autofill and it became standardized.

Given this pseudo-class applies only to <input> and html is where other pseudo-classes like these are defined, I think this is the right forum for discussion, but let me know if I should check with the CSSWG as well.