Skip to content
Permalink
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...
Hixie committed Sep 21, 2009
1 parent ff8219e commit 15901ca57f0e8a97f4e5f499f5ab3172727814b8
Showing with 17 additions and 9 deletions.
  1. +9 −5 index
  2. +8 −4 source
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>-->
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
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>

12 source
</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
<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
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.
You can’t perform that action at this time.