hixie: Encourage outliners to include implied headings. (whatwg r3831)

hixie: Encourage outliners to include implied headings. (whatwg r3831)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2998&r2=1.2999&f=h
http://html5.org/tools/web-apps-tracker?from=3830&to=3831

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2998
retrieving revision 1.2999
diff -u -d -r1.2998 -r1.2999
--- Overview.html 14 Sep 2009 06:05:23 -0000 1.2998
+++ Overview.html 14 Sep 2009 06:28:43 -0000 1.2999
@@ -12335,6 +12335,39 @@
   not associated with a <a href="#concept-section" title="concept-section">section</a>
   is 1.</p>
 
+  <p>User agents should provide default headings for sections that do
+  not have explicit section headings.</p>
+
+  <div class="example">
+
+   <p>Consider the following snippet:</p>
+
+   <pre>&lt;body&gt;
+ &lt;nav&gt;
+  &lt;p&gt;&lt;a href="/"&gt;Home&lt;/a&gt;&lt;/p&gt;
+ &lt;/nav&gt;
+ &lt;p&gt;Hello world.&lt;/p&gt;
+ &lt;aside&gt;
+  &lt;p&gt;My cat is cute.&lt;/p&gt;
+ &lt;/aside&gt;
+&lt;/body&gt;</pre>
+
+   <p>Although it contains no headings, this snippet has three
+   sections: a document (the <code><a href="#the-body-element-0">body</a></code>) with two subsections
+   (a <code><a href="#the-nav-element">nav</a></code> and an <code><a href="#the-aside-element">aside</a></code>). A user agent could
+   present the outline as follows:</p>
+
+   <ol class="brief"><li>Untitled document
+     <ol><li>Navigation</li>
+      <li>Sidebar</li>
+     </ol></li>
+   </ol><p>These default headings ("Untitled document", "Navigation",
+   "Sidebar") are not specified by this specification, and might vary
+   with the user's language, the page's language, the user's
+   preferences, the user agent implementor's preferences, etc.</p>
+
+  </div>
+
   <div class="note">
 
    <p>The following JavaScript function shows how the tree walk could

Received on Monday, 14 September 2009 06:29:45 UTC