Re: Pseudo-Classes :button and :input

--- 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)

Tobias,

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
::value

Sergey/






      

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