HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
39677560Try to clarify what is meant regarding the newline eaten at the front of <pre>s.2009-09-22 11:04
@@ -76348,23 +76348,24 @@ interface <dfn>MessagePort</dfn> {
   <code>table</code> elements according to the content models
   described in this specification. (If a <code>tr</code> element is
   put inside a <code>table</code> in the markup, it will in fact imply
   a <code>tbody</code> start tag before it.)</p>
 
   <p>A single <span title="syntax-newlines">newline</span> may be
   placed immediately after the <span title="syntax-start-tag">start
   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>
    <pre>&lt;pre>Hello&lt;/pre></pre>
    <pre>&lt;pre><br>Hello&lt;/pre></pre>
   </div>
 
 
   <h5 id="cdata-rcdata-restrictions">Restrictions on the contents of raw text and RCDATA elements</h5>
 

|