- From: poot <cvsmail@w3.org>
- Date: Mon, 14 Sep 2009 15:29:09 +0900 (JST)
- To: public-html-diffs@w3.org
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><body>
+ <nav>
+ <p><a href="/">Home</a></p>
+ </nav>
+ <p>Hello world.</p>
+ <aside>
+ <p>My cat is cute.</p>
+ </aside>
+</body></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