spec/Overview.html 1.1383 2210 WF2: Reorder the types to make more sens

WF2: Reorder the types to make more sense (whatwg r2210)

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.1383.html#constructing-form-data-set

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1382&r2=1.1383&f=h
http://html5.org/tools/web-apps-tracker?from=2209&to=2210

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1382
retrieving revision 1.1383
diff -u -d -r1.1382 -r1.1383
--- Overview.html 18 Sep 2008 00:10:23 -0000 1.1382
+++ Overview.html 18 Sep 2008 00:13:21 -0000 1.1383
@@ -1052,52 +1052,52 @@
            <li><a href="#password"><span class=secno>4.9.4.1.2.
             </span>Password state</a>
 
-           <li><a href="#image"><span class=secno>4.9.4.1.3. </span>Image
-            Button state</a>
+           <li><a href="#e-mail"><span class=secno>4.9.4.1.3. </span>E-mail
+            state</a>
 
-           <li><a href="#date-and"><span class=secno>4.9.4.1.4. </span>Date
+           <li><a href="#url-state"><span class=secno>4.9.4.1.4. </span>URL
+            state</a>
[...1231 lines suppressed...]
    title=attr-input-type-reset>Reset Button</dfn> state</h6>
 
@@ -30067,7 +30067,7 @@
        <li>
         <p>The <var title="">field</var> element is <var
          title="">submitter</var>, and before this algorithm was invoked the
-         user <a href="#selected"
+         user <a href="#selected0"
          title=concept-input-type-image-coordinate>indicated a
          coordinate</a>. Let <var title="">x</var> be the x-component of the
          coordindate selected by the user, and let <var title="">y</var> be
@@ -30123,7 +30123,7 @@
        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-file-state>File Upload</span>
-       state, then for each file <a href="#selected0"
+       state, then for each file <a href="#selected"
        title=concept-input-type-file-selected>selected</a> in the <code><a
        href="#input0">input</a></code> element, append an entry in the <var
        title="">form data set</var> with the <var title="">name</var> as the

Received on Thursday, 18 September 2008 00:18:56 UTC