W3C home > Mailing lists > Public > public-html@w3.org > January 2010

Fieldset disabled attribute and descendants

From: Adrian Bateman <adrianba@microsoft.com>
Date: Wed, 13 Jan 2010 18:41:05 +0000
To: HTMLWG WG <public-html@w3.org>
Message-ID: <104E6B5B6535E849970CDFBB1C5216EB1D07D283@TK5EX14MBXC140.redmond.corp.microsoft.com>
http://dev.w3.org/html5/spec/Overview.html#the-fieldset-element

In the description for the <fieldset> disabled attribute, the spec says:

"The disabled attribute, when specified, causes all the form control descendants of the fieldset element, excluding those that are descendants of the fieldset element's first legend element child, if any, to be disabled."

Is there a reason why the disabled attribute shouldn't also disable controls that are descendants of the first legend element? See the attached test case.

It appears that IE and Opera disable both controls inside and outside the <legend> whereas Firefox, Safari, and Chrome disable neither. Our preference would be to remove the clause "excluding those that are descendants of the fieldset element's first legend element child" from the spec.

Cheers,

Adrian.


Received on Wednesday, 13 January 2010 18:44:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:12 UTC