hixie: Match reality: form submission normalises newlines. (whatwg r6542)

hixie: Match reality: form submission normalises newlines. (whatwg
r6542)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5240&r2=1.5241&f=h
http://html5.org/tools/web-apps-tracker?from=6541&to=6542

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5240
retrieving revision 1.5241
diff -u -d -r1.5240 -r1.5241
--- Overview.html 5 Sep 2011 22:37:13 -0000 1.5240
+++ Overview.html 6 Sep 2011 07:23:11 -0000 1.5241
@@ -321,7 +321,7 @@
 
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-5-september-2011">Editor's Draft 5 September 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-6-september-2011">Editor's Draft 6 September 2011</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -467,7 +467,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 5 September 2011 Editor's Draft.
+  This specification is the 6 September 2011 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
@@ -40028,8 +40028,23 @@
 
     </ol></li>
 
-   <li><p><i>End</i>: Return the <var title="">form data
-   step</var>.</li>
+   <li>
+
+    <p><i>End</i>: For the name and value of each entry in the <var title="">form data set</var> whose type is not "<code title="">file</code>", replace every occurrence of a U+000D
+    CARRIAGE RETURN (CR) character not followed by a U+000A LINE FEED
+    (LF) character, and every occurrence of a U+000A LINE FEED (LF)
+    character not preceded by a U+000D CARRIAGE RETURN (CR) character,
+    by a two-character string consisting of a U+000D CARRIAGE RETURN
+    U+000A LINE FEED (CRLF) character pair.</p>
+
+    <p class="note">In the case of the <a href="#concept-fe-value" title="concept-fe-value">value</a> of <code><a href="#the-textarea-element">textarea</a></code>
+    elements, this newline normalization is redundant, as it is
+    already normalized from its <a href="#concept-textarea-raw-value" title="concept-textarea-raw-value">raw value</a> for the
+    purposes of the DOM API.</p>
+
+   </li>
+
+   <li><p>Return the <var title="">form data set</var>.</li>
 
   </ol></div><h5 id="url-encoded-form-data"><span class="secno">4.10.22.5 </span>URL-encoded form data</h5><div class="impl">

Received on Tuesday, 6 September 2011 07:23:30 UTC