- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 17 Sep 2008 01:22:52 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv12310
Modified Files:
Overview.html
Log Message:
WF2: Try moving some more stuff around in the <input> section, maybe this will work better. (whatwg r2203)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1375
retrieving revision 1.1376
diff -u -d -r1.1375 -r1.1376
--- Overview.html 17 Sep 2008 01:17:16 -0000 1.1375
+++ Overview.html 17 Sep 2008 01:22:50 -0000 1.1376
@@ -1114,6 +1114,9 @@
</span>The <code
title=attr-input-autocomplete>autocomplete</code> attribute</a>
</ul>
+
+ <li><a href="#common4"><span class=secno>4.9.4.3. </span>Common
+ <code>input</code> element APIs</a>
</ul>
<li><a href="#the-button"><span class=secno>4.9.5 </span>The
@@ -5382,7 +5385,7 @@
<p>In addition, an interface with a complement of URL decomposition
attributes will define an <dfn id=input
title=concept-uda-input>input</dfn>, which is a <a href="#url">URL</a>
- that the attributes act on, and a <dfn id=common4
+ that the attributes act on, and a <dfn id=common5
title=concept-uda-setter>common setter action</dfn>, which is a set of
steps invoked when any of the attributes' setters are invoked.
@@ -5407,7 +5410,7 @@
title=concept-uda-input>input</a> URL with the new value; otherwise, the
user agent must let <var title="">output</var> be equal to the <a
href="#input" title=concept-uda-input>input</a>. Finally, the user agent
- must invoke the <a href="#common4" title=concept-uda-setter>common setter
+ must invoke the <a href="#common5" title=concept-uda-setter>common setter
action</a> with the value of <var title="">output</var>.
<p>When replacing a component in the URL, if the component is part of an
@@ -27119,7 +27122,7 @@
attribute boolean <a href="#autocomplete" title=dom-input-autocomplete>autocomplete</a>;
attribute boolean <a href="#autofocus" title=dom-input-autofocus>autofocus</a>;
attribute boolean <a href="#defaultchecked" title=dom-input-defaultChecked>defaultChecked</a>;
- attribute boolean <a href="#checked" title=dom-input-checked>checked</a>;
+ attribute boolean <a href="#checked1" title=dom-input-checked>checked</a>;
attribute boolean <a href="#disabled6" title=dom-fe-disabled>disabled</a>;
attribute DOMString <a href="#enctype0" title=dom-fs-enctype>enctype</a>;
readonly attribute <a href="#htmlformelement">HTMLFormElement</a> <a href="#form1" title=dom-fae-form>form</a>;
@@ -27396,15 +27399,6 @@
<p>The <i>missing value default</i> is the <a href="#text2"
title=attr-input-type-text>Text</a> 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
- href="#form-owner">form owner</a>. The <code title=attr-fe-name><a
- href="#name11">name</a></code> attribute represents the element's name.
- The <code title=attr-fe-disabled><a href="#disabled5">disabled</a></code>
- attribute is used to make the control non-interactive and to prevent its
- value from being submitted.
-
<p>Which of the <code title=attr-input-accept>accept</code>, <code
title=attr-fs-action><a href="#action">action</a></code>, <code
title=attr-input-alt>alt</code>, <code title=attr-input-autocomplete><a
@@ -27425,8 +27419,30 @@
href="#target3">target</a></code>, and <code
title=attr-input-value>value</code> attributes apply to an <code><a
href="#input0">input</a></code> element depends on the state of its <code
- title=attr-input-type><a href="#type12">type</a></code> attribute. They
- are defined below.
+ title=attr-input-type><a href="#type12">type</a></code> attribute.
+ Similarly, the <code title=dom-input-checked><a
+ href="#checked1">checked</a></code>, <code title=dom-input-value><a
+ href="#value7">value</a></code>, <code title=dom-input-valueAsDate><a
+ href="#valueasdate">valueAsDate</a></code>, <code
+ title=dom-input-valueAsNumber><a
+ href="#valueasnumber">valueAsNumber</a></code>, <code
+ title=dom-input-list><a href="#list">list</a></code>, and <code
+ title=dom-input-selectedOption><a
+ href="#selectedoption">selectedOption</a></code> DOM attributes, and the
+ <code title=dom-input-stepUp><a href="#stepup">stepUp()</a></code> and
+ <code title=dom-input-stepDown><a href="#stepdown">stepDown()</a></code>
+ methods, are specific to certain states.
+
+ <hr>
+
+ <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
+ href="#form-owner">form owner</a>. The <code title=attr-fe-name><a
+ href="#name11">name</a></code> attribute represents the element's name.
+ The <code title=attr-fe-disabled><a href="#disabled5">disabled</a></code>
+ attribute is used to make the control non-interactive and to prevent its
+ value from being submitted.
<p>The <dfn id=accept title=dom-input-accept><code>accept</code></dfn>,
<dfn id=alt4 title=dom-input-alt><code>alt</code></dfn>, <dfn
@@ -27460,30 +27476,6 @@
must <a href="#reflect">reflect</a> the <code
title=attr-input-value>value</code> content attribute.
- <p class=big-issue>... <dfn id=checked
- title=dom-input-checked><code>checked</code></dfn>
-
- <p class=big-issue>... <dfn id=value7
- title=dom-input-value><code>value</code></dfn>
-
- <p class=big-issue>... <dfn id=valueasdate
- title=dom-input-valueAsDate><code>valueAsDate</code></dfn>
-
- <p class=big-issue>... <dfn id=valueasnumber
- title=dom-input-valueAsNumber><code>valueAsNumber</code></dfn>
-
- <p class=big-issue>... <dfn id=list
- title=dom-input-list><code>list</code></dfn>
-
- <p class=big-issue>... <dfn id=selectedoption
- title=dom-input-selectedOption><code>selectedOption</code></dfn>
-
- <p class=big-issue>... <dfn id=stepup
- title=dom-input-stepUp><code>stepUp()</code></dfn>
-
- <p class=big-issue>... <dfn id=stepdown
- title=dom-input-stepDown><code>stepDown()</code></dfn>
-
<p>The <code title=dom-cva-willValidate><a
href="#willvalidate">willValidate</a></code>, <code
title=dom-cva-validity><a href="#validity">validity</a></code>, and <code
@@ -27689,7 +27681,7 @@
<p class=big-issue>...
- <p class=big-issue>... <dfn id=checked0
+ <p class=big-issue>... <dfn id=checked
title=concept-input-checked-checkbox>checked</dfn>
<h6 id=radio><span class=secno>4.9.4.1.15. </span><dfn id=radio1
@@ -27703,7 +27695,7 @@
<p class=big-issue>...
- <p class=big-issue>... <dfn id=checked1
+ <p class=big-issue>... <dfn id=checked0
title=concept-input-checked-radio>checked</dfn>
<h6 id=file-state><span class=secno>4.9.4.1.16. </span><dfn id=file0
@@ -27839,6 +27831,33 @@
accessible, as there are significant security implications for the user if
support for this attribute is disabled.
+ <h5 id=common4><span class=secno>4.9.4.3. </span>Common <code><a
+ href="#input0">input</a></code> element APIs</h5>
+
+ <p class=big-issue>... <dfn id=checked1
+ title=dom-input-checked><code>checked</code></dfn>
+
+ <p class=big-issue>... <dfn id=value7
+ title=dom-input-value><code>value</code></dfn>
+
+ <p class=big-issue>... <dfn id=valueasdate
+ title=dom-input-valueAsDate><code>valueAsDate</code></dfn>
+
+ <p class=big-issue>... <dfn id=valueasnumber
+ title=dom-input-valueAsNumber><code>valueAsNumber</code></dfn>
+
+ <p class=big-issue>... <dfn id=list
+ title=dom-input-list><code>list</code></dfn>
+
+ <p class=big-issue>... <dfn id=selectedoption
+ title=dom-input-selectedOption><code>selectedOption</code></dfn>
+
+ <p class=big-issue>... <dfn id=stepup
+ title=dom-input-stepUp><code>stepUp()</code></dfn>
+
+ <p class=big-issue>... <dfn id=stepdown
+ title=dom-input-stepDown><code>stepDown()</code></dfn>
+
<h4 id=the-button><span class=secno>4.9.5 </span>The <dfn
id=button2><code>button</code></dfn> element</h4>
@@ -28711,14 +28730,14 @@
href="#input0">input</a></code> element whose <code
title=attr-input-type><a href="#type12">type</a></code> attribute is
in the <span title=attr-input-type-checkbox-state>Checkbox</span>
- state and the control is not <a href="#checked0"
+ state and the control is not <a href="#checked"
title=concept-input-checked-checkbox>checked</a>.
<li>The <var title="">field</var> element is an <code><a
href="#input0">input</a></code> element whose <code
title=attr-input-type><a href="#type12">type</a></code> attribute is
in the <span title=attr-input-type-radio-state>Radio Button</span>
- state and the control is not <a href="#checked1"
+ state and the control is not <a href="#checked0"
title=concept-input-checked-radio>checked</a>.
<li>The <var title="">field</var> element is an <code><a
@@ -31508,7 +31527,7 @@
href="#getcellclasses">getCellClasses()</a></code> method must add the
<code title=datagrid-cell-class-checked><a
href="#checked2">checked</a></code> class if the <code><a
- href="#input0">input</a></code> element is <a href="#checked"
+ href="#input0">input</a></code> element is <a href="#checked1"
title=dom-input-checked>checked</a>, and the <code
title=datagrid-cell-class-unchecked><a
href="#unchecked">unchecked</a></code> class otherwise.</p>
@@ -31516,7 +31535,7 @@
<p>The <code title=dom-provider-setCellCheckedState><a
href="#setcellcheckedstate">setCellCheckedState()</a></code> method must
set the <code><a href="#input0">input</a></code> element's checkbox <a
- href="#checked" title=dom-input-checked>state</a> to checked if the
+ href="#checked1" title=dom-input-checked>state</a> to checked if the
method's third argument is 1, and to unchecked otherwise.</p>
<p>The <code title=dom-provider-cycleCell><a
@@ -39402,7 +39421,7 @@
the associated <code>Document</code> object, as an <a
href="#absolute">absolute URL</a> (same as the <code
title=dom-location-href><a href="#href5">href</a></code> attribute), and
- the <a href="#common4" title=concept-uda-setter>common setter action</a>
+ the <a href="#common5" title=concept-uda-setter>common setter action</a>
being the same as setting the <code title=dom-location-href><a
href="#href5">href</a></code> attribute to the new output value.</p>
<!--
Received on Wednesday, 17 September 2008 01:23:28 UTC