spec/Overview.html 1.1784 2614 Allow <label for=x><input id=x></label>.

Allow <label for=x><input id=x></label>. (bug 5997) (whatwg r2614)
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5997

4.10.3 The label element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1784.html#the-label-element

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1783&r2=1.1784&f=h
http://html5.org/tools/web-apps-tracker?from=2613&to=2614

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1783
retrieving revision 1.1784
diff -u -d -r1.1783 -r1.1784
--- Overview.html 29 Dec 2008 23:19:43 -0000 1.1783
+++ Overview.html 29 Dec 2008 23:24:26 -0000 1.1784
@@ -19336,8 +19336,7 @@
    <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>

Received on Monday, 29 December 2008 23:28:31 UTC