- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 30 Jul 2010 01:37:50 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv3830 Modified Files: Overview.html Log Message: Various minor fixes and an elaboration of an example. (whatwg r5226) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4160 retrieving revision 1.4161 diff -u -d -r1.4160 -r1.4161 --- Overview.html 30 Jul 2010 00:09:25 -0000 1.4160 +++ Overview.html 30 Jul 2010 01:37:46 -0000 1.4161 @@ -13853,6 +13853,27 @@ <p>Both of the documents above are semantically identical and would produce the same outline in compliant user agents.</p> + <p>This third example is also semantically identical, and might be + easier to maintain (e.g. if sections are often moved around in + editing):</p> + + <pre><body> + <h1>Apples</h1> + <p>Apples are fruit.</p> + <section> + <h1>Taste</h1> + <p>They taste lovely.</p> + <section> + <h1>Sweet</h1> + <p>Red apples are sweeter than green ones.</p> + </section> + </section> + <section> + <h1>Color</h1> + <p>Apples come in various colors.</p> + </section> +</body></pre> + </div><h5 id="outlines"><span class="secno">4.4.11.1 </span>Creating an outline</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><div class="impl"> <!-- v2 idea: It would be nice if there was a way to use this to @@ -18445,19 +18466,18 @@ original parent <code><a href="#document">Document</a></code> if its <code><a href="#the-iframe-element">iframe</a></code> is moved to another <code><a href="#document">Document</a></code>.</p> - <p>On the other hand, if an <code><a href="#the-iframe-element">iframe</a></code> is <span class="note"><a href="#remove-an-element-from-a-document" title="remove an element from a - document">removed</a> from a <code><a href="#document">Document</a></code> and is then - subsequently garbage collected, this will likely mean (in the - absence of other references) that the <a href="#child-browsing-context">child browsing - context</a>'s <code><a href="#windowproxy">WindowProxy</a></code> object will become - eligble for garbage collection, which will then lead to that - <a href="#browsing-context">browsing context</a> being <a href="#a-browsing-context-is-discarded" title="a browsing context - is discarded">discarded</a>, which will then lead to its - <code><a href="#document">Document</a></code> being <a href="#discard-a-document" title="discard a + <p>On the other hand, if an <code><a href="#the-iframe-element">iframe</a></code> is <a href="#remove-an-element-from-a-document" title="remove an element from a document">removed</a> from a + <code><a href="#document">Document</a></code> and is then subsequently garbage collected, + this will likely mean (in the absence of other references) that the + <a href="#child-browsing-context">child browsing context</a>'s <code><a href="#windowproxy">WindowProxy</a></code> + object will become eligble for garbage collection, which will then + lead to that <a href="#browsing-context">browsing context</a> being <a href="#a-browsing-context-is-discarded" title="a + browsing context is discarded">discarded</a>, which will then + lead to its <code><a href="#document">Document</a></code> being <a href="#discard-a-document" title="discard a document">discarded</a> also. This happens without notice to any scripts running in that <code><a href="#document">Document</a></code>; for example, no <code title="event-unload">unload</code> events are fired (the - "<a href="#unload-a-document">unload a document</a>" steps are not run).</span></p> + "<a href="#unload-a-document">unload a document</a>" steps are not run).</p> </div>
Received on Friday, 30 July 2010 01:37:51 UTC