Skip to content

Commit

Permalink
[ac] (0) Allow <label for=x><input id=x></label>. (bug 5997)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@2614 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 29, 2008
1 parent b6dc4fc commit 45ad39e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions index
Expand Up @@ -23784,8 +23784,7 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
<dt>Contexts in which this element may be used:</dt>
<dd>Where <a href=#phrasing-content-0>phrasing content</a> is expected.</dd>
<dt>Content model:</dt>
<dd>If the element has a <code title=attr-label-for><a href=#attr-label-for>for</a></code> attribute: <a href=#phrasing-content-0>Phrasing content</a>, but with no descendant <a href=#category-label title=category-label>labelable form-associated elements</a> or <code><a href=#the-label-element>label</a></code> elements.</dd>
<dd>Otherwise: <a href=#phrasing-content-0>Phrasing content</a>, but with at most one descendant <a href=#category-label title=category-label>labelable form-associated element</a>, and with no descendant <code><a href=#the-label-element>label</a></code> elements.</dd>
<dd><a href=#phrasing-content-0>Phrasing content</a>, but with no descendant <a href=#category-label title=category-label>labelable form-associated elements</a> unless it is the element's <a href=#labeled-control>labeled control</a>, and no descendant <code><a href=#the-label-element>label</a></code> elements.</dd>
<dt>Element-specific attributes:</dt>
<dd><code title=attr-fae-form><a href=#attr-fae-form>form</a></code></dd>
<dd><code title=attr-label-for><a href=#attr-label-for>for</a></code></dd>
Expand Down
3 changes: 1 addition & 2 deletions source
Expand Up @@ -26473,8 +26473,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<dt>Contexts in which this element may be used:</dt>
<dd>Where <span>phrasing content</span> is expected.</dd>
<dt>Content model:</dt>
<dd>If the element has a <code title="attr-label-for">for</code> attribute: <span>Phrasing content</span>, but with no descendant <span title="category-label">labelable form-associated elements</span> or <code>label</code> elements.</dd>
<dd>Otherwise: <span>Phrasing content</span>, but with at most one descendant <span title="category-label">labelable form-associated element</span>, and with no descendant <code>label</code> elements.</dd>
<dd><span>Phrasing content</span>, but with no descendant <span title="category-label">labelable form-associated elements</span> unless it is the element's <span>labeled control</span>, and no descendant <code>label</code> elements.</dd>
<dt>Element-specific attributes:</dt>
<dd><code title="attr-fae-form">form</code></dd>
<dd><code title="attr-label-for">for</code></dd>
Expand Down

0 comments on commit 45ad39e

Please sign in to comment.