Permalink
Browse files

[e] (0) Try to clarify what is meant regarding the newline eaten at t…

…he front of <pre>s.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7560

git-svn-id: http://svn.whatwg.org/webapps@3967 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 92091d5 commit 560d7751595e8a41b5434d7d4895dcad05b17a26 @Hixie Hixie committed Sep 22, 2009
Showing with 8 additions and 6 deletions.
  1. +4 −3 index
  2. +4 −3 source
View
7 index
@@ -61758,9 +61758,10 @@ interface <dfn id=messageport>MessagePort</dfn> {
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>
View
7 source
@@ -76355,9 +76355,10 @@ interface <dfn>MessagePort</dfn> {
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>

0 comments on commit 560d775

Please sign in to comment.