[html5] r1300 - /

whatwg at whatwg.org whatwg at whatwg.org
Sun Mar 2 03:29:03 PST 2008


Author: ianh
Date: 2008-03-02 03:29:02 -0800 (Sun, 02 Mar 2008)
New Revision: 1300

Modified:
   index
   source
Log:
[e] (0) add warnings regarding the serialisation differences

Modified: index
===================================================================
--- index	2008-03-02 11:19:39 UTC (rev 1299)
+++ index	2008-03-02 11:29:02 UTC (rev 1300)
@@ -9416,6 +9416,11 @@
    preformatted text, in which structure is represented by typographic
    conventions rather than by elements.
 
+  <p class=note><strong>In the <span title="">HTML
+   serialisation</span><!-- XXX xref -->, a leading newline character
+   immediately following the <code><a href="#pre">pre</a></code> element
+   start tag is stripped.</strong>
+
   <p>Some examples of cases where the <code><a href="#pre">pre</a></code>
    element could be used:
 
@@ -19195,7 +19200,9 @@
     <ul>
      <li>Zero or more <code><a href="#tbody">tbody</a></code> elements, or
 
-     <li>One or more <code><a href="#tr">tr</a></code> elements.
+     <li>One or more <code><a href="#tr">tr</a></code> elements. <strong
+      class=note>(Only expressible in the <span title="">XML
+      serialisation</span><!-- XXX xref -->.)</strong>
     </ul>
 
    <li>
@@ -21267,6 +21274,12 @@
   <p>The <code><a href="#noscript">noscript</a></code> element must not be
    used in <a href="#xml-documents">XML documents</a>.
 
+  <p class=note><strong>The <code><a href="#noscript">noscript</a></code>
+   element is only effective in the <span title="">HTML
+   serialisation</span><!-- XXX
+  xref -->, it has no effect in the <span
+   title="">XML serialisation</span><!-- XXX xref -->.</strong>
+
   <p>When used in <a href="#html-">HTML documents</a>, the allowed content
    model depends on whether scripting is enabled or not, and whether the
    element is in a <code><a href="#head">head</a></code> element or not.

Modified: source
===================================================================
--- source	2008-03-02 11:19:39 UTC (rev 1299)
+++ source	2008-03-02 11:29:02 UTC (rev 1300)
@@ -7743,6 +7743,11 @@
   text, in which structure is represented by typographic conventions
   rather than by elements.</p>
 
+  <p class="note"><strong>In the <span title="">HTML
+  serialisation</span><!-- XXX xref -->, a leading newline character
+  immediately following the <code>pre</code> element start tag is
+  stripped.</strong></p>
+
   <p>Some examples of cases where the <code>pre</code> element could
   be used:</p>
 
@@ -16867,7 +16872,9 @@
 
      <li>Zero or more <code>tbody</code> elements, or</li>
 
-     <li>One or more <code>tr</code> elements.</li>
+     <li>One or more <code>tr</code> elements. <strong
+     class="note">(Only expressible in the <span title="">XML
+     serialisation</span><!-- XXX xref -->.)</strong></li>
 
     </ul>
 
@@ -19057,6 +19064,11 @@
   <p>The <code>noscript</code> element must not be used in <span>XML
   documents</span>.</p>
 
+  <p class="note"><strong>The <code>noscript</code> element is only
+  effective in the <span title="">HTML serialisation</span><!-- XXX
+  xref -->, it has no effect in the <span title="">XML
+  serialisation</span><!-- XXX xref -->.</strong></p>
+
   <p>When used in <span>HTML documents</span>, the allowed content
   model depends on whether scripting is enabled or not, and whether
   the element is in a <code>head</code> element or not.</p>




More information about the Commit-Watchers mailing list