html5/spec Overview.html,1.4253,1.4254

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv16329

Modified Files:
	Overview.html 
Log Message:
document.open('text/plain');document.write(LF); should not eat the newline (whatwg r5335)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4253
retrieving revision 1.4254
diff -u -d -r1.4253 -r1.4254
--- Overview.html	24 Aug 2010 19:55:00 -0000	1.4253
+++ Overview.html	24 Aug 2010 19:57:07 -0000	1.4254
@@ -9714,9 +9714,11 @@
     <p>If <var title="">type</var> is <em>not</em> now an <a href="#ascii-case-insensitive">ASCII
     case-insensitive</a> match for the string
     "<code><a href="#text-html">text/html</a></code>", then act as if the tokenizer had emitted
-    a start tag token with the tag name "pre", then switch the
-    <a href="#html-parser">HTML parser</a>'s tokenizer to the <a href="#plaintext-state">PLAINTEXT
-    state</a>.</p>
+    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 written text doesn't get eaten itself-->, then
+    switch the <a href="#html-parser">HTML parser</a>'s tokenizer to the
+    <a href="#plaintext-state">PLAINTEXT state</a>.</p>
 
     <!--
  http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E...%3Ciframe%3E%3C%2Fiframe%3E%3Cscript%3Eonload%20%3D%20function%20()%20%7B%20%0D%0A%20%20var%20d%20%3D%20document.getElementsByTagName('iframe')%5B0%5D.contentDocument%3B%0D%0A%20%20d.open('image%2Fsvg%2Bxml')%3B%0D%0A%20%20d.write(%22%3Cinput%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml'%20value%3D'(x)html'%2F%3E%22)%3B%0D%0A%20%20d.close()%3B%0D%0A%7D%3B%3C%2Fscript%3E

Received on Tuesday, 24 August 2010 19:57:13 UTC