Re: Pseudo-Classes :button and :input

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 UTC