[html5] r4527 - [giow] (2) Oops, text/plain docs were losing a leading U+000A. Fixing http://www [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Jan 6 04:11:44 PST 2010
Author: ianh
Date: 2010-01-06 04:11:40 -0800 (Wed, 06 Jan 2010)
New Revision: 4527
Modified:
complete.html
index
source
Log:
[giow] (2) Oops, text/plain docs were losing a leading U+000A.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8631
Modified: complete.html
===================================================================
--- complete.html 2010-01-06 12:05:55 UTC (rev 4526)
+++ complete.html 2010-01-06 12:11:40 UTC (rev 4527)
@@ -56241,9 +56241,11 @@
context</a>, the user agent should <a href=#create-a-document-object>create a
<code>Document</code> object</a>, mark it as being an <a href=#html-documents title="HTML documents">HTML document</a>, create an <a href=#html-parser>HTML
parser</a>, associate it with the document, act as if the
- tokenizer had emitted a start tag token with the tag name "pre",
- switch the <a href=#html-parser>HTML parser</a>'s tokenizer to the
- <a href=#plaintext-state>PLAINTEXT state</a>, and begin to pass the stream of
+ tokenizer had emitted a start tag token with the tag name "pre"
+ followed by a single U+000A LINE FEED (LF) character<!-- to get
+ eaten, so that a leading LF in the text/plain stream doesn't get
+ eaten itself-->, switch the <a href=#html-parser>HTML parser</a>'s tokenizer to
+ the <a href=#plaintext-state>PLAINTEXT state</a>, and begin to pass the stream of
characters in the plain text document to that tokenizer.</p>
<p>The rules for how to convert the bytes of the plain text document
Modified: index
===================================================================
--- index 2010-01-06 12:05:55 UTC (rev 4526)
+++ index 2010-01-06 12:11:40 UTC (rev 4527)
@@ -53415,9 +53415,11 @@
context</a>, the user agent should <a href=#create-a-document-object>create a
<code>Document</code> object</a>, mark it as being an <a href=#html-documents title="HTML documents">HTML document</a>, create an <a href=#html-parser>HTML
parser</a>, associate it with the document, act as if the
- tokenizer had emitted a start tag token with the tag name "pre",
- switch the <a href=#html-parser>HTML parser</a>'s tokenizer to the
- <a href=#plaintext-state>PLAINTEXT state</a>, and begin to pass the stream of
+ tokenizer had emitted a start tag token with the tag name "pre"
+ followed by a single U+000A LINE FEED (LF) character<!-- to get
+ eaten, so that a leading LF in the text/plain stream doesn't get
+ eaten itself-->, switch the <a href=#html-parser>HTML parser</a>'s tokenizer to
+ the <a href=#plaintext-state>PLAINTEXT state</a>, and begin to pass the stream of
characters in the plain text document to that tokenizer.</p>
<p>The rules for how to convert the bytes of the plain text document
Modified: source
===================================================================
--- source 2010-01-06 12:05:55 UTC (rev 4526)
+++ source 2010-01-06 12:11:40 UTC (rev 4527)
@@ -63490,9 +63490,11 @@
<code>Document</code> object</span>, mark it as being an <span
title="HTML documents">HTML document</span>, create an <span>HTML
parser</span>, associate it with the document, act as if the
- tokenizer had emitted a start tag token with the tag name "pre",
- switch the <span>HTML parser</span>'s tokenizer to the
- <span>PLAINTEXT state</span>, and begin to pass the stream of
+ tokenizer had emitted a start tag token with the tag name "pre"
+ followed by a single U+000A LINE FEED (LF) character<!-- to get
+ eaten, so that a leading LF in the text/plain stream doesn't get
+ eaten itself-->, switch the <span>HTML parser</span>'s tokenizer to
+ the <span>PLAINTEXT state</span>, and begin to pass the stream of
characters in the plain text document to that tokenizer.</p>
<p>The rules for how to convert the bytes of the plain text document
More information about the Commit-Watchers
mailing list