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

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

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 30 Aug 2012 17:57:31 +0000 (UTC)
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Message-ID: <Pine.LNX.4.64.1208301756010.30734@ps20323.dreamhostps.com>
Cc: whatwg <whatwg@whatwg.org>
On Thu, 28 Jun 2012, Lachlan Hunt wrote:
>
>   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

I guess there's no point fighting this particular battle. Changed.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 30 August 2012 17:58:08 UTC

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