Browse files

[] (0) <fieldset disabled> shouldn't disable the fieldset's legend's …

…form controls.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7591

git-svn-id: http://svn.whatwg.org/webapps@3922 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent ff8219e commit 15901ca57f0e8a97f4e5f499f5ab3172727814b8 @Hixie Hixie committed Sep 21, 2009
Showing with 17 additions and 9 deletions.
  1. +9 −5 index
  2. +8 −4 source
View
14 index
@@ -112,7 +112,7 @@
<div class=head>
<p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<h1>HTML5</h1>
- <h2 class="no-num no-toc" id=draft-standard-&mdash;-20-september-2009>Draft Standard &mdash; 20 September 2009</h2>
+ <h2 class="no-num no-toc" id=draft-standard-&mdash;-21-september-2009>Draft Standard &mdash; 21 September 2009</h2>
<p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -30531,16 +30531,18 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
void <a href=#dom-cva-setcustomvalidity title=dom-cva-setCustomValidity>setCustomValidity</a>(in DOMString error);
};</pre>
</dd>
- </dl><p>The <code><a href=#the-fieldset-element>fieldset</a></code> element <a href=#represents>represents</a> a set of form
- controls grouped under a common name.</p>
+ </dl><p>The <code><a href=#the-fieldset-element>fieldset</a></code> element <a href=#represents>represents</a> a set
+ of form controls grouped under a common name.</p>
<p>The name of the group is given by the first <code><a href=#the-legend-element>legend</a></code>
element that is a child of the <code><a href=#the-fieldset-element>fieldset</a></code> element. The
remainder of the descendants form the group.</p>
<p>The <dfn id=attr-fieldset-disabled title=attr-fieldset-disabled><code>disabled</code></dfn>
attribute, when specified, causes all the form control descendants
- of the <code><a href=#the-fieldset-element>fieldset</a></code> element to be <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a>.</p>
+ of the <code><a href=#the-fieldset-element>fieldset</a></code> element, excluding those that are
+ descendants of the <code><a href=#the-fieldset-element>fieldset</a></code> element's first
+ <code><a href=#the-legend-element>legend</a></code> element child, if any, to be <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a>.</p>
<p>The <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute is used to
explicitly associate the <code><a href=#the-fieldset-element>fieldset</a></code> element with its
@@ -37584,7 +37586,9 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
if its <code title=attr-fe-disabled><a href=#attr-fe-disabled>disabled</a></code> attribute is
set, or if it is a descendant of a <code><a href=#the-fieldset-element>fieldset</a></code> element
whose <code title=attr-fieldset-disabled><a href=#attr-fieldset-disabled>disabled</a></code> attribute
- is set.</p>
+ is set and is <em>not</em> a descendant of that
+ <code><a href=#the-fieldset-element>fieldset</a></code> element's first <code><a href=#the-legend-element>legend</a></code> element
+ child, if any.</p>
<div class=impl>
View
12 source
@@ -33885,8 +33885,8 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
</dd>
</dl>
- <p>The <code>fieldset</code> element <span>represents</span> a set of form
- controls grouped under a common name.</p>
+ <p>The <code>fieldset</code> element <span>represents</span> a set
+ of form controls grouped under a common name.</p>
<p>The name of the group is given by the first <code>legend</code>
element that is a child of the <code>fieldset</code> element. The
@@ -33895,7 +33895,9 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<p>The <dfn
title="attr-fieldset-disabled"><code>disabled</code></dfn>
attribute, when specified, causes all the form control descendants
- of the <code>fieldset</code> element to be <span
+ of the <code>fieldset</code> element, excluding those that are
+ descendants of the <code>fieldset</code> element's first
+ <code>legend</code> element child, if any, to be <span
title="concept-fe-disabled">disabled</span>.</p>
<p>The <code title="attr-fae-form">form</code> attribute is used to
@@ -42042,7 +42044,9 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
if its <code title="attr-fe-disabled">disabled</code> attribute is
set, or if it is a descendant of a <code>fieldset</code> element
whose <code title="attr-fieldset-disabled">disabled</code> attribute
- is set.</p>
+ is set and is <em>not</em> a descendant of that
+ <code>fieldset</code> element's first <code>legend</code> element
+ child, if any.</p>
<div class="impl">

0 comments on commit 15901ca

Please sign in to comment.