[whatwg] :enabled and :disabled matching <input type=hidden>

Lachlan Hunt lachlan.hunt at lachy.id.au
Thu Jun 28 06:22:19 PDT 2012


Hi,
   The spec states that:

> The :enabled pseudo-class must match any element falling into one of
> the following categories:
>
> * input elements whose type attribute are not in the Hidden state and
>   that are not disabled

and

> The :disabled pseudo-class must match any element falling into one of
> the following categories:
>
> * input elements whose type attribute are not in the Hidden state and
>   that are disabled

This doesn't match the behaviour of all web browsers I've tested. Opera, 
Safari, Chrome, Firefox and IE all fail this test.

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1643

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/


More information about the whatwg mailing list