Re: [css3-ui] Proposal: CSS autofill psuedoclass

On Wed, Oct 12, 2011 at 7:18 AM, Sergey Ilinsky <sergey@ilinsky.com> wrote:
> Should be pseudo-element (::), not pseudo-class (:). Pseudo-classes are to
> select elements in certain states, pseudo-elements are to access elements'
> sub-structures.

Yes, that's precisely what is being done here.  The proposal is for a
way to match inputs that have been autofilled, in order to style them
differently.  There's no new structure being created.  A pseudoclass
is thus correct.

~TJ

Received on Wednesday, 12 October 2011 14:44:52 UTC