- From: poot <cvsmail@w3.org>
- Date: Tue, 22 Sep 2009 19:57:58 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Try to clarify what is meant regarding the newline eaten at the
front of <pre>s. (whatwg r3967)
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3128&r2=1.3129&f=h
http://html5.org/tools/web-apps-tracker?from=3966&to=3967
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3128
retrieving revision 1.3129
diff -u -d -r1.3128 -r1.3129
--- Overview.html 22 Sep 2009 10:56:13 -0000 1.3128
+++ Overview.html 22 Sep 2009 10:57:39 -0000 1.3129
@@ -55503,9 +55503,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).<div class="example">
+ <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).<div class="example">
<p>The following two <code><a href="#the-pre-element">pre</a></code> blocks are equivalent:</p>
<pre><pre>Hello</pre></pre>
<pre><pre><br>Hello</pre></pre>
Received on Tuesday, 22 September 2009 10:58:34 UTC