Skip to content

Commit

Permalink
[ac] (0) Require label for <input type=button>
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10710

git-svn-id: http://svn.whatwg.org/webapps@5550 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 29, 2010
1 parent aa68b1d commit 5c21189
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
9 changes: 5 additions & 4 deletions complete.html
Expand Up @@ -42064,10 +42064,11 @@ <h6 id=button-state><span class=secno>4.10.7.1.22 </span><dfn title=attr-input-t
</div>

<p>The <code><a href=#the-input-element>input</a></code> element <a href=#represents>represents</a> a button
with no default behavior. <span class=impl>If the element has a
<code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, the button's
label must be the value of that attribute; otherwise, it must be the
empty string.</span> The element is a <a href=#concept-button title=concept-button>button</a>.</p>
with no default behavior. A label for the button must be provided
in the <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute.
<span class=impl>If the element has a <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, the button's label
must be the value of that attribute; otherwise, it must be the empty
string.</span> The element is a <a href=#concept-button title=concept-button>button</a>.</p>

<div class=impl>

Expand Down
9 changes: 5 additions & 4 deletions index
Expand Up @@ -42044,10 +42044,11 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
</div>

<p>The <code><a href=#the-input-element>input</a></code> element <a href=#represents>represents</a> a button
with no default behavior. <span class=impl>If the element has a
<code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, the button's
label must be the value of that attribute; otherwise, it must be the
empty string.</span> The element is a <a href=#concept-button title=concept-button>button</a>.</p>
with no default behavior. A label for the button must be provided
in the <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute.
<span class=impl>If the element has a <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, the button's label
must be the value of that attribute; otherwise, it must be the empty
string.</span> The element is a <a href=#concept-button title=concept-button>button</a>.</p>

<div class=impl>

Expand Down
10 changes: 6 additions & 4 deletions source
Expand Up @@ -46939,10 +46939,12 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
</div>

<p>The <code>input</code> element <span>represents</span> a button
with no default behavior. <span class="impl">If the element has a
<code title="attr-input-value">value</code> attribute, the button's
label must be the value of that attribute; otherwise, it must be the
empty string.</span> The element is a <span
with no default behavior. A label for the button must be provided
in the <code title="attr-input-value">value</code> attribute.
<span class="impl">If the element has a <code
title="attr-input-value">value</code> attribute, the button's label
must be the value of that attribute; otherwise, it must be the empty
string.</span> The element is a <span
title="concept-button">button</span>.</p>

<div class="impl">
Expand Down

0 comments on commit 5c21189

Please sign in to comment.