- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 31 Dec 2010 07:46:41 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv14517 Modified Files: introduction.html spec.html Log Message: better example (whatwg r5731) [updated by splitter] Index: spec.html =================================================================== RCS file: /sources/public/html5/spec/spec.html,v retrieving revision 1.1359 retrieving revision 1.1360 diff -u -d -r1.1359 -r1.1360 --- spec.html 31 Dec 2010 04:46:53 -0000 1.1359 +++ spec.html 31 Dec 2010 07:46:39 -0000 1.1360 @@ -388,7 +388,7 @@ <a href="Overview.html">single page HTML</a>, <a href="spec.html">multipage HTML</a>, <a href="author/">web developer edition</a>. -This is revision 1.4593. +This is revision 1.4594. </p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2010 <a href="http://www.w3.org/"><abbr title="World Wide Index: introduction.html =================================================================== RCS file: /sources/public/html5/spec/introduction.html,v retrieving revision 1.1020 retrieving revision 1.1021 diff -u -d -r1.1020 -r1.1021 --- introduction.html 30 Dec 2010 06:46:53 -0000 1.1020 +++ introduction.html 31 Dec 2010 07:46:39 -0000 1.1021 @@ -851,13 +851,19 @@ <div class="example"> - <p>For example, the following markup results in poor performance - when hitting the highlighted end tag, since all the open elements - are examined first to see if they match the close tag:</p> + <p>For example, the following markup results in poor performance, + since all the unclosed <code><a href="text-level-semantics.html#the-i-element">i</a></code> elements have to be + reconstructed in each paragraph, resulting in progressively more + elements in each paragraph:</p> - <pre class="bad"><p><em><span><span><span>...<span><span><span><strong></em></strong></pre> + <pre class="bad"><p><i>He dreamt. +<p><i>He dreamt that he ate breakfast. +<p><i>Then lunch. +<p><i>And finally dinner.</pre> - </div> + <p>The resulting DOM for this fragment would be:</p> + + <ul class="domTree"><li class="t1"><code><a href="grouping-content.html#the-p-element">p</a></code><ul><li class="t1"><code><a href="text-level-semantics.html#the-i-element">i</a></code><ul><li class="t3"><code>#text</code>: <span title="">He dreamt.</span></li></ul></li></ul></li><li class="t1"><code><a href="grouping-content.html#the-p-element">p</a></code><ul><li class="t1"><code><a href="text-level-semantics.html#the-i-element">i</a></code><ul><li class="t1"><code><a href="text-level-semantics.html#the-i-element">i</a></code><ul><li class="t3"><code>#text</code>: <span title="">He dreamt that he ate breakfast.</span></li></ul></li></ul></li></ul></li><li class="t1"><code><a href="grouping-content.html#the-p-element">p</a></code><ul><li class="t1"><code><a href="text-level-semantics.html#the-i-element">i</a></code><ul><li class="t1"><code><a href="text-level-semantics.html#the-i-element">i</a></code><ul><li class="t1"><code><a href="text-level-semantics.html#the-i-element">i</a></code><ul><li class"t3"><code>#text</code>: <span title="">Then lunch.</span></li></ul></li></ul></li></ul></li></ul></li><li class="t1"><code><a href="grouping-content.html#the-p-element">p</a></code><ul><li class="t1"><code><a href="text-level-semantics.html#the-i-element">i</a></code><ul><li class="t1"><code><a href="text-level-semantics.html#the-i-element">i</a></code><ul><li class="t1"><code><a href="text-level-semantics.html#the-i-element">i</a></code><ul><li class="t1"><code><a href="text-level-semantics.html#the-i-element">i</a></code><ul><li class="t3"><code>#text</code>: <span title="">And finally dinner.</span></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></div> </dd>
Received on Friday, 31 December 2010 07:46:43 UTC