- From: poot <cvsmail@w3.org>
- Date: Wed, 17 Sep 2008 10:26:11 +0900 (JST)
- To: public-html-diffs@w3.org
WF2: Try moving some more stuff around in the <input> section, maybe
this will work better. (whatwg r2203)
4.9.4.1.14. Checkbox state
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#checkbox
stepDown()
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#stepdown
valueAsDate
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#valueasdate
accept
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#accept
checked
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#checked1
checked
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#checked0
4.9.4.1.15. Radio Button state
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#radio
HTMLInputElement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#htmlinputelement
checked
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#checked
button
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#button2
4.9.4.3. Common input element APIs
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#common4
common setter action
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#common5
value
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#value7
input
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#input
alt
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#alt4
URL decomposition attributes
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#url-decomposition
defaultValue
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#defaultvalue
stepUp()
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#stepup
Constructing the form data set. For each element field in controls, in tree order, run the following substeps: If any of the following conditions are met, then skip these substeps for this element: The field element has a datalist element ancestor. The field element is disabled. The field element is a button but it is not submitter. The field element is an input element whose type attribute is in the Checkbox state and the control is not checked. The field element is an input element whose type attribute is in the Radio Button state and the control is not checked. The field element is an input element whose type attribute is in the File Upload state but the control does not have any files selected. Otherwise, process field as follows: If the field element is an input element whose type attribute is in the Image Button state, then run these further nested substeps: If the field element has an name attribute specified and value is not the empty string, let name be that value followed by a single U+002E FULL SOP (.) character. Otherwise, let name be the empty string. Let namex be the string consisting of the concatenation of name and a single U+0078 LATIN SMALL LETTER X (x) character. Let namey be the string consisting of the concatenation of name and a single U+0079 LATIN SMALL LETTER Y (y) character. The field element is submitter, and before this algorithm was invoked the user indicated a coordinate. Let x be the x-component of the coordindate selected by the user, and let y be the y-component of the coordinate selected by the user. Append an entry in the form data set with the name namex and the value x. Append an entry in the form data set with the name namey and the value y. Skip the remaining substeps for this element: if there are any more elements in controls, return to the top of the constructing the form data set step, otherwise, jump to the next step in the overall form submission algorithm. If the field element does not have a name attribute specified, or its name attribute's value is the empty strig, skip these substeps for this element: if there are any more elements in controls, return to the top of the constructing the form data set step, otherwise, jump to the next step in the overall form submission algorithm. Let name be the value of the field element's name attribute. If the field element is a select element, then for each option element in the select element that is selected, append an entry in the form data set with the name as the name and the value of the option element as the value. Otherwise, if the field element is an input element whose type attribute is in the File Upload state, then for each file selected in the input element, append an entry in the form data set with the name as the name and the file as the value. (Both the file name and the file contents are subsequently used.) Otherwise, append an entry in the form data set with name as the name and the value of the field element as the value.
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#constructing-form-data-set
4.9.5 The button element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#the-button
off
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#off
list
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#list
valueAsNumber
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#valueasnumber
button
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#button0
hash
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#hash0
selectedOption
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#selectedoption
4.11.2.4.1. Common default data provider method definitions for cells
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#commonDefaultDataGridMethodDefinitions
4.9.4.1.16. File state
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1376.html#file-state
http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1375&r2=1.1376&f=h
http://html5.org/tools/web-apps-tracker?from=2202&to=2203
===================================================================
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:26:50 UTC