[html5] r827 - /

whatwg at whatwg.org whatwg at whatwg.org
Thu May 17 16:05:41 PDT 2007


Author: ianh
Date: 2007-05-17 16:05:40 -0700 (Thu, 17 May 2007)
New Revision: 827

Modified:
   source
Log:
[ac] (0) Let's try that again. Distinguishing site-wide headers from page headers:

Modified: source
===================================================================
--- source	2007-05-17 07:05:00 UTC (rev 826)
+++ source	2007-05-17 23:05:40 UTC (rev 827)
@@ -7344,33 +7344,36 @@
 
   <h5>Distinguishing site-wide headers from page headers</h5>
 
+  <p>Given the <a href="#outlines">hypothetical section tree</a>, but
+  ignoring any sections created for <code>nav</code> and
+  <code>aside</code> elements, and any of their descendants, if the
+  root of the tree is <span>the <code>body</code> element</span>'s
+  section, and it has only a single subsection which is created by an
+  <code>article</code> element, then the header of <span>the
+  <code>body</code> element</span> should be assumed to be a site-wide
+  header, and the header of the <code>article</code> element should be
+  assumed to be the page's header.</p>
+
   <p>If a page starts with a heading that is common to the whole site,
-  that header must be given as the document's top-level heading, and
-  the page's own heading must be nested as the heading of an
-  <code>article</code> element, that element being the only
-  <code>article</code> or <code>section</code> element descendant of
-  <span>the <code>body</code> element</span>, ignoring any further
-  descendants of the <code>article</code> element itself.</p>
+  the document must be authored such that, in the document's <a
+  href="#outlines">hypothetical section tree</a>, ignoring any
+  sections created for <code>nav</code> and <code>aside</code>
+  elements and any of their descendants, the root of the tree is
+  <span>the <code>body</code> element</span>'s section, its heading is
+  the site-wide heading, <span>the <code>body</code> element</span>
+  has just one subsection, that subsection is created by an
+  <code>article</code> element, and that <code>article</code>'s header
+  is the page heading.</p>
 
-  <p>If a page does not contain a site-wide heading, then either its
-  <span title="the body element"><code>body</code> element</span> must
-  not have an <code>article</code> element that is the only
-  <code>article</code> or <code>section</code> element descendant,
-  ignoring any descendants of any <code>article</code> elements, of
-  <span>the <code>body</code> element</span>, or, <span>the
-  <code>body</code> element</span> itself must not have a heading
-  associated with it.</p>
+  <p>If a page does not contain a site-wide heading, then the page
+  must be authored such that, in the document's <a
+  href="#outlines">hypothetical section tree</a>, ignoring any
+  sections created for <code>nav</code> and <code>aside</code>
+  elements and any of their descendants, either <span>the
+  <code>body</code> element</span> has no subsections, or it has more
+  than one subsection, or it has a single subsection but that
+  subsection is not created by an <code>article</code> element.</p>
 
-  <p>If a document's <span title="the body element"><code>body</code>
-  element</span> has only one <code>article</code> or
-  <code>section</code> element descendant, ignoring any descendants of
-  any <code>article</code> elements, and that element is an
-  <code>article</code> element, then the page's heading is the heading
-  of that element and the site's heading is the heading of the
-  <code>body</code> element. Otherwise, there is no site heading, and
-  the page heading is the heading of the <code>body</code>
-  element.</p>
-
   <p class="note">Conceptually, a site is thus a document with many
   articles — when those articles are split into many pages, the
   heading of the original single page becomes the heading of the site,




More information about the Commit-Watchers mailing list