[html5] r5432 - [ac] (0) Disallow <label> to be used with <input type=hidden>. Fixing http://www [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Sep 7 16:59:31 PDT 2010


Author: ianh
Date: 2010-09-07 16:59:29 -0700 (Tue, 07 Sep 2010)
New Revision: 5432

Modified:
   complete.html
   index
   source
Log:
[ac] (0) Disallow <label> to be used with <input type=hidden>.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10146

Modified: complete.html
===================================================================
--- complete.html	2010-09-07 23:52:07 UTC (rev 5431)
+++ complete.html	2010-09-07 23:59:29 UTC (rev 5432)
@@ -36783,7 +36783,7 @@
 
     <!-- when updating this also update the category index -->
     <ul class="brief category-list"><li><code><a href=#the-button-element>button</a></code></li>
-     <li><code><a href=#the-input-element>input</a></code></li>
+     <li><code><a href=#the-input-element>input</a></code> (if the <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is <em>not</em> in the <a href=#hidden-state title=attr-input-type-hidden>Hidden</a> state)</li>
      <li><code><a href=#the-keygen-element>keygen</a></code></li>
      <li><code><a href=#the-meter-element>meter</a></code></li>
      <li><code><a href=#the-output-element>output</a></code></li>
@@ -37463,7 +37463,8 @@
    <dd><a href=#flow-content>Flow content</a>.</dd>
    <dd><a href=#phrasing-content>Phrasing content</a>.</dd>
    <dd>If the <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is <em>not</em> in the <a href=#hidden-state title=attr-input-type-hidden>Hidden</a> state: <a href=#interactive-content>Interactive content</a>.</dd>
-   <dd><a href=#category-listed title=category-listed>Listed</a>, <a href=#category-label title=category-label>labelable</a>, <a href=#category-submit title=category-submit>submittable</a>, and <a href=#category-reset title=category-reset>resettable</a> <a href=#form-associated-element>form-associated element</a>.</dd>
+   <dd>If the <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is <em>not</em> in the <a href=#hidden-state title=attr-input-type-hidden>Hidden</a> state:<a href=#category-listed title=category-listed>Listed</a>, <a href=#category-label title=category-label>labelable</a>, <a href=#category-submit title=category-submit>submittable</a>, and <a href=#category-reset title=category-reset>resettable</a> <a href=#form-associated-element>form-associated element</a>.</dd>
+   <dd>If the <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#hidden-state title=attr-input-type-hidden>Hidden</a> state: <a href=#category-listed title=category-listed>Listed</a>, <a href=#category-submit title=category-submit>submittable</a>, and <a href=#category-reset title=category-reset>resettable</a> <a href=#form-associated-element>form-associated element</a>.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>Where <a href=#phrasing-content>phrasing content</a> is expected.</dd>
    <dt>Content model:</dt>
@@ -93083,6 +93084,7 @@
   Eric Rescorla,
   Eric Semling,
   Erik Arvidsson,
+  Erik Rose,
   Evan Martin,
   Evan Prodromou,
   Evert,

Modified: index
===================================================================
--- index	2010-09-07 23:52:07 UTC (rev 5431)
+++ index	2010-09-07 23:59:29 UTC (rev 5432)
@@ -36763,7 +36763,7 @@
 
     <!-- when updating this also update the category index -->
     <ul class="brief category-list"><li><code><a href=#the-button-element>button</a></code></li>
-     <li><code><a href=#the-input-element>input</a></code></li>
+     <li><code><a href=#the-input-element>input</a></code> (if the <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is <em>not</em> in the <a href=#hidden-state title=attr-input-type-hidden>Hidden</a> state)</li>
      <li><code><a href=#the-keygen-element>keygen</a></code></li>
      <li><code><a href=#the-meter-element>meter</a></code></li>
      <li><code><a href=#the-output-element>output</a></code></li>
@@ -37443,7 +37443,8 @@
    <dd><a href=#flow-content>Flow content</a>.</dd>
    <dd><a href=#phrasing-content>Phrasing content</a>.</dd>
    <dd>If the <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is <em>not</em> in the <a href=#hidden-state title=attr-input-type-hidden>Hidden</a> state: <a href=#interactive-content>Interactive content</a>.</dd>
-   <dd><a href=#category-listed title=category-listed>Listed</a>, <a href=#category-label title=category-label>labelable</a>, <a href=#category-submit title=category-submit>submittable</a>, and <a href=#category-reset title=category-reset>resettable</a> <a href=#form-associated-element>form-associated element</a>.</dd>
+   <dd>If the <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is <em>not</em> in the <a href=#hidden-state title=attr-input-type-hidden>Hidden</a> state:<a href=#category-listed title=category-listed>Listed</a>, <a href=#category-label title=category-label>labelable</a>, <a href=#category-submit title=category-submit>submittable</a>, and <a href=#category-reset title=category-reset>resettable</a> <a href=#form-associated-element>form-associated element</a>.</dd>
+   <dd>If the <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#hidden-state title=attr-input-type-hidden>Hidden</a> state: <a href=#category-listed title=category-listed>Listed</a>, <a href=#category-submit title=category-submit>submittable</a>, and <a href=#category-reset title=category-reset>resettable</a> <a href=#form-associated-element>form-associated element</a>.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>Where <a href=#phrasing-content>phrasing content</a> is expected.</dd>
    <dt>Content model:</dt>
@@ -89165,6 +89166,7 @@
   Eric Rescorla,
   Eric Semling,
   Erik Arvidsson,
+  Erik Rose,
   Evan Martin,
   Evan Prodromou,
   Evert,

Modified: source
===================================================================
--- source	2010-09-07 23:52:07 UTC (rev 5431)
+++ source	2010-09-07 23:59:29 UTC (rev 5432)
@@ -40923,7 +40923,7 @@
     <!-- when updating this also update the category index -->
     <ul class="brief category-list">
      <li><code>button</code></li>
-     <li><code>input</code></li>
+     <li><code>input</code> (if the <code title="attr-input-type">type</code> attribute is <em>not</em> in the <span title="attr-input-type-hidden">Hidden</span> state)</li>
      <li><code>keygen</code></li>
      <li><code>meter</code></li>
      <li><code>output</code></li>
@@ -41723,7 +41723,8 @@
    <dd><span>Flow content</span>.</dd>
    <dd><span>Phrasing content</span>.</dd>
    <dd>If the <code title="attr-input-type">type</code> attribute is <em>not</em> in the <span title="attr-input-type-hidden">Hidden</span> state: <span>Interactive content</span>.</dd>
-   <dd><span title="category-listed">Listed</span>, <span title="category-label">labelable</span>, <span title="category-submit">submittable</span>, and <span title="category-reset">resettable</span> <span>form-associated element</span>.</dd>
+   <dd>If the <code title="attr-input-type">type</code> attribute is <em>not</em> in the <span title="attr-input-type-hidden">Hidden</span> state:<span title="category-listed">Listed</span>, <span title="category-label">labelable</span>, <span title="category-submit">submittable</span>, and <span title="category-reset">resettable</span> <span>form-associated element</span>.</dd>
+   <dd>If the <code title="attr-input-type">type</code> attribute is in the <span title="attr-input-type-hidden">Hidden</span> state: <span title="category-listed">Listed</span>, <span title="category-submit">submittable</span>, and <span title="category-reset">resettable</span> <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>
@@ -106890,6 +106891,7 @@
   Eric Rescorla,
   Eric Semling,
   Erik Arvidsson,
+  Erik Rose,
   Evan Martin,
   Evan Prodromou,
   Evert,




More information about the Commit-Watchers mailing list