W3C home > Mailing lists > Public > www-style@w3.org > September 2009

Re: Pseudo-Classes :button and :input

From: Sergey Ilinsky <castonet@yahoo.co.uk>
Date: Fri, 18 Sep 2009 11:59:39 +0000 (GMT)
Message-ID: <650447.50534.qm@web24401.mail.ird.yahoo.com>
To: Tobias Herp <tobias.herp@gmx.de>
Cc: Boris Zbarsky <bzbarsky@MIT.EDU>, www-style@w3.org
--- On Fri, 18/9/09, Tobias Herp <tobias.herp@gmx.de> wrote:

> Only what I wrote:
> - :textual-input to match any textual input
>   (except file input if you must)
> - :button-input to match any button input (where appropriate, and
>   with the possible exception of file controls)


Isn't the pseudo-element selector a better fit for that purpose? Pseudo-classes are more often used for interaction states (at least they were in the beginning), like :hover or :focus, while pseudo-elements (using :: selector) - for "pseudo"/"shadow" content (like ::first-letter or ::before)

BTW, There is already a special pseudo-element defined in the CSS3-UI for the value box


Received on Friday, 18 September 2009 12:00:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:39 UTC