Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[] (0) WF2: Define resetting for >input> elements.
git-svn-id: http://svn.whatwg.org/webapps@2207 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 17, 2008
1 parent 35b14d1 commit d58f2e7
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 13 deletions.
22 changes: 15 additions & 7 deletions index
Expand Up @@ -27430,11 +27430,11 @@ function AddCloud(data, x, y) { ... }</pre>

<p>When an <code><a href="#input0">input</a></code> element's <code
title=attr-input-type><a href="#type12">type</a></code> attribute changes
state, and when the element is first created, the <dfn id=control0>control
initialization</dfn> algorithm defined for the <code
title=attr-input-type><a href="#type12">type</a></code> attribute's state
at the time must be invoked and the element's rendering and behaviour must
change accordingly.
state, and when the element is first created, the element's rendering and
behaviour must change to the new state's accordingly and the <dfn
id=control0>control initialization</dfn> algorithm defined for the <code
title=attr-input-type><a href="#type12">type</a></code> attribute's new
state must be invoked.

<p>Each <code><a href="#input0">input</a></code> element has a <a
href="#value10" title=concept-fe-value>value</a>.
Expand Down Expand Up @@ -27471,8 +27471,14 @@ function AddCloud(data, x, y) { ... }</pre>
created, after invoking the <a href="#control0">control initialization</a>
algorithm, the <dfn id=default2>default value change</dfn> algorithm
defined for the <code title=attr-input-type><a
href="#type12">type</a></code> attribute's state at the time must be
invoked.
href="#type12">type</a></code> attribute's current state must be invoked.

<p>The <a href="#reset5" title=concept-form-reset-control>reset
algorithm</a> for <code><a href="#input0">input</a></code> elements is to
set the <a href="#dirty">dirty flag</a> back to false, and then invoke the
<a href="#default2">default value change</a> algorithm defined for the
<code title=attr-input-type><a href="#type12">type</a></code> attribute's
current state.

<p>The <code title=attr-fae-form><a href="#form0">form</a></code> attribute
is used to explicitly associate the <code><a
Expand Down Expand Up @@ -59282,6 +59288,8 @@ TODO (or delay):
XXX * command="" feature
XXX * DOM0 quirks that Mozilla knows about:
http://lxr.mozilla.org/seamonkey/source/dom/src/base/nsDOMClassInfo.cpp
XXX * make the spec consistent about whether the word "algorithm" is part of
an algorithm's name or not ("</dfn> algorithm", "</span> algorithm")
XXX * make a consistent decision of which of the following formats to use:
U+1234 FOO BAR character ("foo")
U+1234 FOO BAR character ('foo')
Expand Down
20 changes: 14 additions & 6 deletions source
Expand Up @@ -24489,11 +24489,11 @@ function AddCloud(data, x, y) { ... }</pre>

<p>When an <code>input</code> element's <code
title="attr-input-type">type</code> attribute changes state, and
when the element is first created, the <dfn>control
initialization</dfn> algorithm defined for the <code
title="attr-input-type">type</code> attribute's state at the time
must be invoked and the element's rendering and behaviour must
change accordingly.</p>
when the element is first created, the element's rendering and
behaviour must change to the new state's accordingly and the
<dfn>control initialization</dfn> algorithm defined for the <code
title="attr-input-type">type</code> attribute's new state must be
invoked.</p>

<p>Each <code>input</code> element has a <span
title="concept-fe-value">value</span>.</p>
Expand Down Expand Up @@ -24530,7 +24530,13 @@ function AddCloud(data, x, y) { ... }</pre>
first created, after invoking the <span>control
initialization</span> algorithm, the <dfn>default value change</dfn>
algorithm defined for the <code title="attr-input-type">type</code>
attribute's state at the time must be invoked.</p>
attribute's current state must be invoked.</p>

<p>The <span title="concept-form-reset-control">reset
algorithm</span> for <code>input</code> elements is to set the
<span>dirty flag</span> back to false, and then invoke the
<span>default value change</span> algorithm defined for the <code
title="attr-input-type">type</code> attribute's current state.</p>

<p>The <code title="attr-fae-form">form</code> attribute is used to
explicitly associate the <code>input</code> element with its
Expand Down Expand Up @@ -53641,6 +53647,8 @@ TODO (or delay):
XXX * command="" feature
XXX * DOM0 quirks that Mozilla knows about:
http://lxr.mozilla.org/seamonkey/source/dom/src/base/nsDOMClassInfo.cpp
XXX * make the spec consistent about whether the word "algorithm" is part of
an algorithm's name or not ("</dfn> algorithm", "</span> algorithm")
XXX * make a consistent decision of which of the following formats to use:
U+1234 FOO BAR character ("foo")
U+1234 FOO BAR character ('foo')
Expand Down

0 comments on commit d58f2e7

Please sign in to comment.