W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2012

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

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Thu, 28 Jun 2012 15:22:19 +0200
Message-ID: <4FEC5A8B.8040102@lachy.id.au>
To: whatwg <whatwg@whatwg.org>
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/
Received on Thursday, 28 June 2012 13:23:00 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:43 UTC