W3C home > Mailing lists > Public > public-html-commits@w3.org > December 2008

html5/spec Overview.html,1.1783,1.1784

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 29 Dec 2008 23:24:29 +0000
To: public-html-commits@w3.org
Message-Id: <E1LHRTJ-00034y-OF@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv11818

Modified Files:
	Overview.html 
Log Message:
Allow <label for=x><input id=x></label>. (bug 5997) (whatwg r2614)

Index: Overview.html
===================================================================
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:24:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 29 December 2008 23:24:39 GMT