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

Re: Pseudo-Classes :button and :input

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 16 Sep 2009 12:58:47 -0400
Message-ID: <4AB11947.6000601@mit.edu>
To: Tobias Herp <Tobias.Herp@gmx.net>
CC: www-style@w3.org
On 9/16/09 12:01 PM, Tobias Herp wrote:
> - a pseudo-class :input which would match any textual input, e.g.
>    input[type="text"], input[type="password"], textarea,
>    and the textual input box of input[type="file"]

Note that this last might not exist.

> - a pseudo-class :button which would match any type of buttons, e.g.
>    input[type="button"], input[type="submit"], button,
>    and the button part of input[type="file"]

And again, this last might not exist.

> Something like this would not only solve the file input problem

Only by assuming a particular (fairly broken, imo) internal makeup for 
file inputs.

 > which currently need every single of these items listed separately.

Why is that a serious problem requiring new syntax and new code in 
browsers?  It seems like exactly the use case attribute selectors were 
created for...

-Boris
Received on Wednesday, 16 September 2009 16:59:38 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:21 GMT