W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2010

[whatwg] :enabled and :disabled pseudo-classes should apply on fieldset elements

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 8 Dec 2010 01:08:29 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1012080107100.26618@ps20323.dreamhostps.com>
On Sun, 12 Sep 2010, Mounir Lamouri wrote:
> The current state of the specifications do not mention fieldset elements 
> for the :enabled and :disabled pseudo-classes but fieldset can be 
> disabled so I guess it might be convenient to have these pseudo-classes 
> applied to them.
> Opera applies :disabled and :enabled to fieldset elements and Mozilla 
> might do the same.

It's not really the <fieldset> that is enabled/disabled, it's the 
controls within it. Put it this way: if we dropped support for disabled="" 
from the spec, I think one would still argue that <input> is :enabled, but 
I don't think one would argue that <fieldset> is :enabled. Case in point, 
nobody argued that <fieldset> should match :enabled before we added the 
disabled="" attribute to it.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 7 December 2010 17:08:29 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:02 UTC