- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 16 Sep 2008 00:27:17 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv1803 Modified Files: Overview.html Log Message: WF2: Move <label> up a bit so I have another excuse to not do <input> yet... (whatwg r2189) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1361 retrieving revision 1.1362 diff -u -d -r1.1361 -r1.1362 --- Overview.html 16 Sep 2008 00:24:01 -0000 1.1361 +++ Overview.html 16 Sep 2008 00:27:15 -0000 1.1362 @@ -1037,15 +1037,15 @@ <li><a href="#the-fieldset"><span class=secno>4.9.2 </span>The <code>fieldset</code> element</a> - <li><a href="#the-input"><span class=secno>4.9.3 </span>The + <li><a href="#the-label"><span class=secno>4.9.3 </span>The + <code>label</code> element</a> + + <li><a href="#the-input"><span class=secno>4.9.4 </span>The <code>input</code> element</a> - <li><a href="#the-button"><span class=secno>4.9.4 </span>The + <li><a href="#the-button"><span class=secno>4.9.5 </span>The <code>button</code> element</a> - <li><a href="#the-label"><span class=secno>4.9.5 </span>The - <code>label</code> element</a> - <li><a href="#the-select"><span class=secno>4.9.6 </span>The <code>select</code> element</a> @@ -26847,7 +26847,56 @@ href="#setcustomvalidity">setCustomValidity()</a></code> methods, are part of the <a href="#constraint0">constraint validation API</a>. - <h4 id=the-input><span class=secno>4.9.3 </span>The <dfn + <h4 id=the-label><span class=secno>4.9.3 </span>The <dfn + id=label><code>label</code></dfn> element</h4> + + <dl class=element> + <dt>Categories + + <dd><a href="#phrasing0">Phrasing content</a>. + + <dd><a href="#interactive1">Interactive content</a>. + + <dd><a href="#form-associated">Form-associated element</a>. + + <dt>Contexts in which this element may be used: + + <dd>Where <a href="#phrasing0">phrasing content</a> is expected. + + <dt>Content model: + + <dd><a href="#phrasing0">Phrasing content</a>. + + <dt>Element-specific attributes: + + <dd><code title=attr-fae-form><a href="#form0">form</a></code> + + <dd><code title=attr-label-for>for</code> + + <dt>DOM interface: + + <dd> + <pre + class=idl>interface <dfn id=htmllabelelement>HTMLLabelElement</dfn> : <a href="#htmlelement">HTMLElement</a> { + readonly attribute <a href="#htmlformelement">HTMLFormElement</a> <a href="#form1" title=dom-fae-form>form</a>; + attribute DOMString <span title=dom-label-htmlFor>htmlFor</span>; + readonly attribute <a href="#htmlelement">HTMLElement</a> <span title=dom-label-control>control</span>; +};</pre> + </dl> + + <p class=big-issue>...</p> + <!--XXX +what does <label> _mean_? how about an empty one, one which contains +more than one control, no controls? +--> + + <p>The <code title=attr-fae-form><a href="#form0">form</a></code> attribute + is used to explicitly associate the <code><a + href="#label">label</a></code> element with its <a href="#form-owner">form + owner</a>. The <code title=attr-fe-name><a href="#name11">name</a></code> + attribute represents the element's name. + + <h4 id=the-input><span class=secno>4.9.4 </span>The <dfn id=input0><code>input</code></dfn> element</h4> <dl class=element> @@ -27003,7 +27052,7 @@ href="#setcustomvalidity">setCustomValidity()</a></code> methods, are part of the <a href="#constraint0">constraint validation API</a>. - <h4 id=the-button><span class=secno>4.9.4 </span>The <dfn + <h4 id=the-button><span class=secno>4.9.5 </span>The <dfn id=button><code>button</code></dfn> element</h4> <dl class=element> @@ -27092,55 +27141,6 @@ href="#setcustomvalidity">setCustomValidity()</a></code> methods, are part of the <a href="#constraint0">constraint validation API</a>. - <h4 id=the-label><span class=secno>4.9.5 </span>The <dfn - id=label><code>label</code></dfn> element</h4> - - <dl class=element> - <dt>Categories - - <dd><a href="#phrasing0">Phrasing content</a>. - - <dd><a href="#interactive1">Interactive content</a>. - - <dd><a href="#form-associated">Form-associated element</a>. - - <dt>Contexts in which this element may be used: - - <dd>Where <a href="#phrasing0">phrasing content</a> is expected. - - <dt>Content model: - - <dd><a href="#phrasing0">Phrasing content</a>. - - <dt>Element-specific attributes: - - <dd><code title=attr-fae-form><a href="#form0">form</a></code> - - <dd><code title=attr-label-for>for</code> - - <dt>DOM interface: - - <dd> - <pre - class=idl>interface <dfn id=htmllabelelement>HTMLLabelElement</dfn> : <a href="#htmlelement">HTMLElement</a> { - readonly attribute <a href="#htmlformelement">HTMLFormElement</a> <a href="#form1" title=dom-fae-form>form</a>; - attribute DOMString <span title=dom-label-htmlFor>htmlFor</span>; - readonly attribute <a href="#htmlelement">HTMLElement</a> <span title=dom-label-control>control</span>; -};</pre> - </dl> - - <p class=big-issue>...</p> - <!--XXX -what does <label> _mean_? how about an empty one, one which contains -more than one control, no controls? ---> - - <p>The <code title=attr-fae-form><a href="#form0">form</a></code> attribute - is used to explicitly associate the <code><a - href="#label">label</a></code> element with its <a href="#form-owner">form - owner</a>. The <code title=attr-fe-name><a href="#name11">name</a></code> - attribute represents the element's name. - <h4 id=the-select><span class=secno>4.9.6 </span>The <dfn id=select><code>select</code></dfn> element</h4> @@ -27795,8 +27795,6 @@ title="">unhandled invalid controls</var> list. </ol> - <hr> - <p>If a user agent is to <dfn id=interactively>interactively validate the constraints</dfn> of <code><a href="#form">form</a></code> element <var title="">form</var>, then the user agent must run the following steps:
Received on Tuesday, 16 September 2008 00:27:51 UTC