Navigation Menu

Skip to content

Commit

Permalink
[ac] (0) Disallow <label> to be used with <input type=hidden>.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10146

git-svn-id: http://svn.whatwg.org/webapps@5432 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 7, 2010
1 parent 5af786d commit c548aaa
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions complete.html
Expand Up @@ -36783,7 +36783,7 @@ <h4 id=categories><span class=secno>4.10.2 </span>Categories</h4>

<!-- 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>
Expand Down Expand Up @@ -37463,7 +37463,8 @@ <h4 id=the-input-element><span class=secno>4.10.7 </span>The <dfn><code>input</c
<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>
Expand Down Expand Up @@ -93083,6 +93084,7 @@ <h3 class="no-num">Reflecting IDL attributes</h3>
Eric Rescorla,
Eric Semling,
Erik Arvidsson,
Erik Rose,
Evan Martin,
Evan Prodromou,
Evert,
Expand Down
6 changes: 4 additions & 2 deletions index
Expand Up @@ -36763,7 +36763,7 @@ the cell that corresponds to the values of the two dice.

<!-- 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>
Expand Down Expand Up @@ -37443,7 +37443,8 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
<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>
Expand Down Expand Up @@ -89165,6 +89166,7 @@ interface <a href=#htmldocument>HTMLDocument</a> {
Eric Rescorla,
Eric Semling,
Erik Arvidsson,
Erik Rose,
Evan Martin,
Evan Prodromou,
Evert,
Expand Down
6 changes: 4 additions & 2 deletions source
Expand Up @@ -40923,7 +40923,7 @@ the cell that corresponds to the values of the two dice.
<!-- 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>
Expand Down Expand Up @@ -41723,7 +41723,8 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<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>
Expand Down Expand Up @@ -106890,6 +106891,7 @@ interface <span>HTMLDocument</span> {
Eric Rescorla,
Eric Semling,
Erik Arvidsson,
Erik Rose,
Evan Martin,
Evan Prodromou,
Evert,
Expand Down

0 comments on commit c548aaa

Please sign in to comment.