[html5] r2207 - [] (0) WF2: Define resetting for >input> elements.
whatwg at whatwg.org
whatwg at whatwg.org
Wed Sep 17 15:31:37 PDT 2008
Author: ianh
Date: 2008-09-17 15:31:36 -0700 (Wed, 17 Sep 2008)
New Revision: 2207
Modified:
index
source
Log:
[] (0) WF2: Define resetting for >input> elements.
Modified: index
===================================================================
--- index 2008-09-17 22:22:26 UTC (rev 2206)
+++ index 2008-09-17 22:31:36 UTC (rev 2207)
@@ -27430,11 +27430,11 @@
<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>.
@@ -27471,9 +27471,15 @@
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
href="#input0">input</a></code> element with its <a
@@ -59282,6 +59288,8 @@
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')
Modified: source
===================================================================
--- source 2008-09-17 22:22:26 UTC (rev 2206)
+++ source 2008-09-17 22:31:36 UTC (rev 2207)
@@ -24489,11 +24489,11 @@
<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>
@@ -24530,8 +24530,14 @@
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
<span>form owner</span>. The <code title="attr-fe-name">name</code>
@@ -53641,6 +53647,8 @@
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')
More information about the Commit-Watchers
mailing list