[html5] r2189 - [] (0) WF2: Move <label> up a bit so I have another excuse to not do <input> yet...

whatwg at whatwg.org whatwg at whatwg.org
Mon Sep 15 17:27:12 PDT 2008


Author: ianh
Date: 2008-09-15 17:27:11 -0700 (Mon, 15 Sep 2008)
New Revision: 2189

Modified:
   index
   source
Log:
[] (0) WF2: Move <label> up a bit so I have another excuse to not do <input> yet...

Modified: index
===================================================================
--- index	2008-09-16 00:23:56 UTC (rev 2188)
+++ index	2008-09-16 00:27:11 UTC (rev 2189)
@@ -1030,15 +1030,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>
 
@@ -26840,7 +26840,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>
@@ -26996,7 +27045,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>
@@ -27085,55 +27134,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>
 
@@ -27788,8 +27788,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:

Modified: source
===================================================================
--- source	2008-09-16 00:23:56 UTC (rev 2188)
+++ source	2008-09-16 00:27:11 UTC (rev 2189)
@@ -24162,6 +24162,43 @@
 
 
 
+  <h4>The <dfn><code>label</code></dfn> element</h4>
+
+  <dl class="element">
+   <dt>Categories</dt>
+   <dd><span>Phrasing content</span>.</dd>
+   <dd><span>Interactive content</span>.</dd>
+   <dd><span>Form-associated element</span>.</dd>
+   <dt>Contexts in which this element may be used:</dt>
+   <dd>Where <span>phrasing content</span> is expected.</dd>
+   <dt>Content model:</dt>
+   <dd><span>Phrasing content</span>.</dd>
+   <dt>Element-specific attributes:</dt>
+   <dd><code title="attr-fae-form">form</code></dd>
+   <dd><code title="attr-label-for">for</code></dd>
+   <dt>DOM interface:</dt>
+   <dd>
+<pre class="idl">interface <dfn>HTMLLabelElement</dfn> : <span>HTMLElement</span> {
+  readonly attribute <span>HTMLFormElement</span> <span title="dom-fae-form">form</span>;
+           attribute DOMString <span title="dom-label-htmlFor">htmlFor</span>;
+  readonly attribute <span>HTMLElement</span> <span title="dom-label-control">control</span>;
+};</pre>
+   </dd> 
+  </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">form</code> attribute is used to
+  explicitly associate the <code>label</code> element with its
+  <span>form owner</span>. The <code title="attr-fe-name">name</code>
+  attribute represents the element's name.</p>
+
+
+
   <h4>The <dfn><code>input</code></dfn> element</h4>
 
   <dl class="element">
@@ -24342,43 +24379,6 @@
 
 
 
-  <h4>The <dfn><code>label</code></dfn> element</h4>
-
-  <dl class="element">
-   <dt>Categories</dt>
-   <dd><span>Phrasing content</span>.</dd>
-   <dd><span>Interactive content</span>.</dd>
-   <dd><span>Form-associated element</span>.</dd>
-   <dt>Contexts in which this element may be used:</dt>
-   <dd>Where <span>phrasing content</span> is expected.</dd>
-   <dt>Content model:</dt>
-   <dd><span>Phrasing content</span>.</dd>
-   <dt>Element-specific attributes:</dt>
-   <dd><code title="attr-fae-form">form</code></dd>
-   <dd><code title="attr-label-for">for</code></dd>
-   <dt>DOM interface:</dt>
-   <dd>
-<pre class="idl">interface <dfn>HTMLLabelElement</dfn> : <span>HTMLElement</span> {
-  readonly attribute <span>HTMLFormElement</span> <span title="dom-fae-form">form</span>;
-           attribute DOMString <span title="dom-label-htmlFor">htmlFor</span>;
-  readonly attribute <span>HTMLElement</span> <span title="dom-label-control">control</span>;
-};</pre>
-   </dd> 
-  </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">form</code> attribute is used to
-  explicitly associate the <code>label</code> element with its
-  <span>form owner</span>. The <code title="attr-fe-name">name</code>
-  attribute represents the element's name.</p>
-
-
-
   <h4>The <dfn><code>select</code></dfn> element</h4>
 
   <dl class="element">
@@ -24917,8 +24917,6 @@
 
   </ol>
 
-  <hr>
-
   <p>If a user agent is to <dfn>interactively validate the
   constraints</dfn> of <code>form</code> element <var
   title="">form</var>, then the user agent must run the following




More information about the Commit-Watchers mailing list