- From: poot <cvsmail@w3.org>
- Date: Fri, 12 Sep 2008 19:11:05 +0900 (JST)
- To: public-html-diffs@w3.org
WF2: markup error (whatwg r2171) Mutate action http://people.w3.org/mike/diffs/html5/spec/Overview.1.1344.html#mutate 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.1344.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.1343&r2=1.1344&f=h http://html5.org/tools/web-apps-tracker?from=2170&to=2171 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1343 retrieving revision 1.1344 diff -u -d -r1.1343 -r1.1344 --- Overview.html 12 Sep 2008 09:54:58 -0000 1.1343 +++ Overview.html 12 Sep 2008 10:08:00 -0000 1.1344 @@ -27809,7 +27809,7 @@ <p>The behaviors are as follows:</p> - <dl class=switch> + <dl> <dt><dfn id=mutate title=submit-mutate-action>Mutate action</dfn> <dd>
Received on Friday, 12 September 2008 10:11:43 UTC