Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[c] (0) Define that <button value=''> (empty) is ok.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11499

git-svn-id: http://svn.whatwg.org/webapps@5902 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 17, 2011
1 parent fcc8d9a commit 44044d1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
11 changes: 6 additions & 5 deletions complete.html
Expand Up @@ -43855,11 +43855,12 @@ <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. 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>
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, though it
may be the empty string. <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
11 changes: 6 additions & 5 deletions index
Expand Up @@ -43838,11 +43838,12 @@ 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. 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>
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, though it
may be the empty string. <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
12 changes: 6 additions & 6 deletions source
Expand Up @@ -48932,12 +48932,12 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
</div>

<p>The <code>input</code> element <span>represents</span> a button
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
with no default behavior. A label for the button must be provided in
the <code title="attr-input-value">value</code> attribute, though it
may be the empty string. <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 44044d1

Please sign in to comment.