W3C home > Mailing lists > Public > www-style@w3.org > October 2011

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 12 Oct 2011 07:43:56 -0700
Message-ID: <CAAWBYDC9ObckgURdBXZO15+Qv8b0peLMCe_sTsE2CSCZoxSB_g@mail.gmail.com>
To: Sergey Ilinsky <sergey@ilinsky.com>
Cc: Ilya Sherman <isherman@chromium.org>, www-style@w3.org
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.

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:05 UTC