[html5] r3967 - [e] (0) Try to clarify what is meant regarding the newline eaten at the front of [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Sep 22 04:04:36 PDT 2009


Author: ianh
Date: 2009-09-22 04:04:35 -0700 (Tue, 22 Sep 2009)
New Revision: 3967

Modified:
   index
   source
Log:
[e] (0) Try to clarify what is meant regarding the newline eaten at the front of <pre>s.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7560

Modified: index
===================================================================
--- index	2009-09-22 11:03:08 UTC (rev 3966)
+++ index	2009-09-22 11:04:35 UTC (rev 3967)
@@ -61758,9 +61758,10 @@
   tag</a> of <code><a href=#the-pre-element>pre</a></code> and <code><a href=#the-textarea-element>textarea</a></code>
   elements. This does not affect the processing of the element. The
   otherwise optional <a href=#syntax-newlines title=syntax-newlines>newline</a>
-  <em>must</em> be included if the element's contents start with that
-  character (because otherwise the leading newline in the contents
-  would be treated like the optional newline, and ignored).</p>
+  <em>must</em> be included if the element's contents themselves start
+  with a <a href=#syntax-newlines title=syntax-newlines>newline</a> (because
+  otherwise the leading newline in the contents would be treated like
+  the optional newline, and ignored).</p>
 
   <div class=example>
    <p>The following two <code><a href=#the-pre-element>pre</a></code> blocks are equivalent:</p>

Modified: source
===================================================================
--- source	2009-09-22 11:03:08 UTC (rev 3966)
+++ source	2009-09-22 11:04:35 UTC (rev 3967)
@@ -76355,9 +76355,10 @@
   tag</span> of <code>pre</code> and <code>textarea</code>
   elements. This does not affect the processing of the element. The
   otherwise optional <span title="syntax-newlines">newline</span>
-  <em>must</em> be included if the element's contents start with that
-  character (because otherwise the leading newline in the contents
-  would be treated like the optional newline, and ignored).</p>
+  <em>must</em> be included if the element's contents themselves start
+  with a <span title="syntax-newlines">newline</span> (because
+  otherwise the leading newline in the contents would be treated like
+  the optional newline, and ignored).</p>
 
   <div class="example">
    <p>The following two <code>pre</code> blocks are equivalent:</p>




More information about the Commit-Watchers mailing list