Skip to content

:autofill pseudo-class. #6181

@emilio

Description

@emilio

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions