Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (2) <input type=reset> resets <input type=file> too, oops
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10907

git-svn-id: http://svn.whatwg.org/webapps@5601 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 12, 2010
1 parent 5e29e8d commit 5db1de0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
5 changes: 3 additions & 2 deletions complete.html
Expand Up @@ -39175,8 +39175,9 @@ <h4 id=the-input-element><span class=secno>4.10.7 </span>The <dfn><code>input</c
the <code title=attr-input-value><a href=#attr-input-value>value</a></code> content attribute,
if there is one, or the empty string otherwise, set the <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> of the element to true
if the element has a <code title=attr-input-checked><a href=#attr-input-checked>checked</a></code>
content attribute and false if it does not, and then invoke the
<a href=#value-sanitization-algorithm>value sanitization algorithm</a>, if the <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute's current state
content attribute and false if it does not, empty the list of <a href=#concept-input-type-file-selected title=concept-input-type-file-selected>selected files</a>, and
then invoke the <a href=#value-sanitization-algorithm>value sanitization algorithm</a>, if the
<code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute's current state
defines one.</p>

<p>Each <code><a href=#the-input-element>input</a></code> element is either <dfn id=concept-input-mutable title=concept-input-mutable><i>mutable</i></dfn> or <dfn id=concept-input-immutable title=concept-input-immutable><i>immutable</i></dfn>. Except where
Expand Down
5 changes: 3 additions & 2 deletions index
Expand Up @@ -39155,8 +39155,9 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
the <code title=attr-input-value><a href=#attr-input-value>value</a></code> content attribute,
if there is one, or the empty string otherwise, set the <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> of the element to true
if the element has a <code title=attr-input-checked><a href=#attr-input-checked>checked</a></code>
content attribute and false if it does not, and then invoke the
<a href=#value-sanitization-algorithm>value sanitization algorithm</a>, if the <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute's current state
content attribute and false if it does not, empty the list of <a href=#concept-input-type-file-selected title=concept-input-type-file-selected>selected files</a>, and
then invoke the <a href=#value-sanitization-algorithm>value sanitization algorithm</a>, if the
<code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute's current state
defines one.</p>

<p>Each <code><a href=#the-input-element>input</a></code> element is either <dfn id=concept-input-mutable title=concept-input-mutable><i>mutable</i></dfn> or <dfn id=concept-input-immutable title=concept-input-immutable><i>immutable</i></dfn>. Except where
Expand Down
7 changes: 4 additions & 3 deletions source
Expand Up @@ -43622,9 +43622,10 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
if there is one, or the empty string otherwise, set the <span
title="concept-fe-checked">checkedness</span> of the element to true
if the element has a <code title="attr-input-checked">checked</code>
content attribute and false if it does not, and then invoke the
<span>value sanitization algorithm</span>, if the <code
title="attr-input-type">type</code> attribute's current state
content attribute and false if it does not, empty the list of <span
title="concept-input-type-file-selected">selected files</span>, and
then invoke the <span>value sanitization algorithm</span>, if the
<code title="attr-input-type">type</code> attribute's current state
defines one.</p>

<p>Each <code>input</code> element is either <dfn
Expand Down

0 comments on commit 5db1de0

Please sign in to comment.