[html5] r7275 - [giow] (2) The 'name' of an <input type=file> field has to get newline-normalise [...]

whatwg at whatwg.org whatwg at whatwg.org
Sat Aug 25 20:04:31 PDT 2012


Author: ianh
Date: 2012-08-25 20:04:29 -0700 (Sat, 25 Aug 2012)
New Revision: 7275

Modified:
   complete.html
   index
   source
Log:
[giow] (2) The 'name' of an <input type=file> field has to get newline-normalised. Also, some editorial tweaks.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17460
Affected topics: DOM APIs, HTML

Modified: complete.html
===================================================================
--- complete.html	2012-08-25 16:53:06 UTC (rev 7274)
+++ complete.html	2012-08-26 03:04:29 UTC (rev 7275)
@@ -246,7 +246,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 25 August 2012</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 26 August 2012</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -57884,17 +57884,22 @@
 
    <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><i>End</i>: For the name of each entry in the <var title="">form data set</var>, and for the value of each entry in
+    the <var title="">form data set</var> whose type is not "<code title="">file</code>" or "<code title="">textarea</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>
+    elements, this newline normalization is already performed during
+    the conversion of the control's <a href=#concept-textarea-raw-value title=concept-textarea-raw-value>raw value</a> into the
+    control's <a href=#concept-fe-value title=concept-fe-value>value</a> (which also
+    performs any necesary line wrapping). In the case of
+    <code><a href=#the-input-element>input</a></code> elements <code title=attr-input-type><a href=#attr-input-type>type</a></code> attributes in the <a href="#file-upload-state-(type=file)" title=attr-input-type-file>File Upload</a> state, the value
+    is not normalized.</p>
 
    </li>
 
@@ -68168,7 +68173,7 @@
 
   <ul><li><a href=#child-browsing-context title="child browsing context">child browsing
    contexts</a> of the <a href=#active-document>active document</a> whose name is
-   <var title="">name</var>
+   <var title="">name</var>,</li>
 
    <li><code><a href=#the-a-element>a</a></code>, <code><a href=#the-applet-element>applet</a></code>, <code><a href=#the-area-element>area</a></code>,
    <code><a href=#the-embed-element>embed</a></code>, <code><a href=#the-form-element>form</a></code>, <code><a href=#frameset>frameset</a></code>,

Modified: index
===================================================================
--- index	2012-08-25 16:53:06 UTC (rev 7274)
+++ index	2012-08-26 03:04:29 UTC (rev 7275)
@@ -246,7 +246,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 25 August 2012</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 26 August 2012</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -57884,17 +57884,22 @@
 
    <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><i>End</i>: For the name of each entry in the <var title="">form data set</var>, and for the value of each entry in
+    the <var title="">form data set</var> whose type is not "<code title="">file</code>" or "<code title="">textarea</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>
+    elements, this newline normalization is already performed during
+    the conversion of the control's <a href=#concept-textarea-raw-value title=concept-textarea-raw-value>raw value</a> into the
+    control's <a href=#concept-fe-value title=concept-fe-value>value</a> (which also
+    performs any necesary line wrapping). In the case of
+    <code><a href=#the-input-element>input</a></code> elements <code title=attr-input-type><a href=#attr-input-type>type</a></code> attributes in the <a href="#file-upload-state-(type=file)" title=attr-input-type-file>File Upload</a> state, the value
+    is not normalized.</p>
 
    </li>
 
@@ -68168,7 +68173,7 @@
 
   <ul><li><a href=#child-browsing-context title="child browsing context">child browsing
    contexts</a> of the <a href=#active-document>active document</a> whose name is
-   <var title="">name</var>
+   <var title="">name</var>,</li>
 
    <li><code><a href=#the-a-element>a</a></code>, <code><a href=#the-applet-element>applet</a></code>, <code><a href=#the-area-element>area</a></code>,
    <code><a href=#the-embed-element>embed</a></code>, <code><a href=#the-form-element>form</a></code>, <code><a href=#frameset>frameset</a></code>,

Modified: source
===================================================================
--- source	2012-08-25 16:53:06 UTC (rev 7274)
+++ source	2012-08-26 03:04:29 UTC (rev 7275)
@@ -67652,21 +67652,28 @@
 
    <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><i>End</i>: For the name of each entry in the <var
+    title="">form data set</var>, and for the value of each entry in
+    the <var title="">form data set</var> whose type is not "<code
+    title="">file</code>" or "<code title="">textarea</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 <span
     title="concept-fe-value">value</span> of <code>textarea</code>
-    elements, this newline normalization is redundant, as it is
-    already normalized from its <span
-    title="concept-textarea-raw-value">raw value</span> for the
-    purposes of the DOM API.</p>
+    elements, this newline normalization is already performed during
+    the conversion of the control's <span
+    title="concept-textarea-raw-value">raw value</span> into the
+    control's <span title="concept-fe-value">value</span> (which also
+    performs any necesary line wrapping). In the case of
+    <code>input</code> elements <code
+    title="attr-input-type">type</code> attributes in the <span
+    title="attr-input-type-file">File Upload</span> state, the value
+    is not normalized.</p>
 
    </li>
 
@@ -79862,7 +79869,7 @@
 
    <li><span title="child browsing context">child browsing
    contexts</span> of the <span>active document</span> whose name is
-   <var title="">name</var,</li>
+   <var title="">name</var>,</li>
 
    <li><code>a</code>, <code>applet</code>, <code>area</code>,
    <code>embed</code>, <code>form</code>, <code>frameset</code>,




More information about the Commit-Watchers mailing list