[html5] r1332 - /

whatwg at whatwg.org whatwg at whatwg.org
Mon Mar 3 23:05:46 PST 2008


Author: ianh
Date: 2008-03-03 23:05:42 -0800 (Mon, 03 Mar 2008)
New Revision: 1332

Modified:
   index
   source
Log:
[acgiot] (2) Strip spaces between <html> and <head> start tags.

Modified: index
===================================================================
--- index	2008-03-04 06:58:58 UTC (rev 1331)
+++ index	2008-03-04 07:05:42 UTC (rev 1332)
@@ -37288,15 +37288,24 @@
    declarations</span> are to be serialised, as discussed in the section on
    that topic.
 
-  <p class=note>Space characters before the root <code><a
-   href="#html">html</a></code> element will be dropped when the document is
-   parsed; space characters <em>after</em> the root <code><a
-   href="#html">html</a></code> element will be parsed as if they were at the
-   end of the <code><a href="#body0">body</a></code> element. Thus, space
-   characters around the root element do not round-trip. It is suggested that
-   newlines be inserted after the DOCTYPE and any comments that are before
-   the root element.
+  <div class=note>
+   <p>Space characters before the root <code><a href="#html">html</a></code>
+    element, and space characters at the start of the <code><a
+    href="#html">html</a></code> element and before the <code><a
+    href="#head">head</a></code> element, will be dropped when the document
+    is parsed; space characters <em>after</em> the root <code><a
+    href="#html">html</a></code> element will be parsed as if they were at
+    the end of the <code><a href="#body0">body</a></code> element. Thus,
+    space characters around the root element do not round-trip.</p>
 
+   <p>It is suggested that newlines be inserted after the DOCTYPE, after any
+    comments that are before the root element, after the <code><a
+    href="#html">html</a></code> element's start tag (if it is not <a
+    href="#omitted" title=syntax-tag-omission>omitted</a>), and after any
+    comments that are inside the <code><a href="#html">html</a></code>
+    element but before the <code><a href="#head">head</a></code> element.</p>
+  </div>
+
   <h4 id=the-doctype><span class=secno>8.1.1 </span>The DOCTYPE</h4>
 
   <p>A <dfn id=doctype title=syntax-doctype>DOCTYPE</dfn> is a mostly
@@ -41445,8 +41454,8 @@
     <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE
 
    <dd>
-    <p><a href="#append" title="append a character">Append the character</a>
-     to the <a href="#current4">current node</a>.</p>
+    <p>Ignore the token.</p>
+    <!-- :-( -->
 
    <dt>A comment token
 

Modified: source
===================================================================
--- source	2008-03-04 06:58:58 UTC (rev 1331)
+++ source	2008-03-04 07:05:42 UTC (rev 1332)
@@ -34760,15 +34760,26 @@
   encoding declarations</span> are to be serialised, as discussed in
   the section on that topic.</p>
 
-  <p class="note">Space characters before the root <code>html</code>
-  element will be dropped when the document is parsed; space
-  characters <em>after</em> the root <code>html</code> element will be
-  parsed as if they were at the end of the <code>body</code>
-  element. Thus, space characters around the root element do not
-  round-trip. It is suggested that newlines be inserted after the
-  DOCTYPE and any comments that are before the root element.</p>
+  <div class="note">
 
+   <p>Space characters before the root <code>html</code> element, and
+   space characters at the start of the <code>html</code> element and
+   before the <code>head</code> element, will be dropped when the
+   document is parsed; space characters <em>after</em> the root
+   <code>html</code> element will be parsed as if they were at the end
+   of the <code>body</code> element. Thus, space characters around the
+   root element do not round-trip.</p>
 
+   <p>It is suggested that newlines be inserted after the DOCTYPE,
+   after any comments that are before the root element, after the
+   <code>html</code> element's start tag (if it is not <span
+   title="syntax-tag-omission">omitted</span>), and after any comments
+   that are inside the <code>html</code> element but before the
+   <code>head</code> element.</p>
+
+  </div>
+
+
   <h4>The DOCTYPE</h4>
 
   <p>A <dfn title="syntax-doctype">DOCTYPE</dfn> is a mostly useless,
@@ -38547,8 +38558,7 @@
    TABULATION, U+000C FORM FEED (FF), <!--U+000D CARRIAGE RETURN (CR),-->
    or U+0020 SPACE</dt>
    <dd>
-    <p><span title="append a character">Append the character</span> to
-    the <span>current node</span>.</p>
+    <p>Ignore the token.</p> <!-- :-( -->
    </dd>
 
    <dt>A comment token</dt>




More information about the Commit-Watchers mailing list