- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 22 Sep 2009 10:57:42 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv28633
Modified Files:
Overview.html
Log Message:
Try to clarify what is meant regarding the newline eaten at the front of <pre>s. (whatwg r3967)
Index: Overview.html
===================================================================
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:57:52 UTC