hixie: Various minor fixes and an elaboration of an example. (whatwg r5226)

hixie: Various minor fixes and an elaboration of an example. (whatwg
r5226)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4160&r2=1.4161&f=h
http://html5.org/tools/web-apps-tracker?from=5225&to=5226

===================================================================
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>&lt;body&gt;
+ &lt;h1&gt;Apples&lt;/h1&gt;
+ &lt;p&gt;Apples are fruit.&lt;/p&gt;
+ &lt;section&gt;
+  &lt;h1&gt;Taste&lt;/h1&gt;
+  &lt;p&gt;They taste lovely.&lt;/p&gt;
+  &lt;section&gt;
+   &lt;h1&gt;Sweet&lt;/h1&gt;
+   &lt;p&gt;Red apples are sweeter than green ones.&lt;/p&gt;
+  &lt;/section&gt;
+ &lt;/section&gt;
+ &lt;section&gt;
+  &lt;h1&gt;Color&lt;/h1&gt;
+  &lt;p&gt;Apples come in various colors.&lt;/p&gt;
+ &lt;/section&gt;
+&lt;/body&gt;</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:38:34 UTC