[html5] r828 - /

whatwg at whatwg.org whatwg at whatwg.org
Thu May 17 16:08:03 PDT 2007


Author: ianh
Date: 2007-05-17 16:08:02 -0700 (Thu, 17 May 2007)
New Revision: 828

Modified:
   index
Log:
[ac] (0) Let's try that again. Distinguishing site-wide headers from page headers: now semi-readable and more correct.

Modified: index
===================================================================
--- index	2007-05-17 23:05:40 UTC (rev 827)
+++ index	2007-05-17 23:08:02 UTC (rev 828)
@@ -8879,37 +8879,38 @@
   <h5 id=distinguishing><span class=secno>3.8.11.3. </span>Distinguishing
    site-wide headers from page headers</h5>
 
-  <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><a
-   href="#article">article</a></code> element, that element being the only
-   <code><a href="#article">article</a></code> or <code><a
-   href="#section">section</a></code> element descendant of <a
-   href="#the-body0">the <code>body</code> element</a>, ignoring any further
-   descendants of the <code><a href="#article">article</a></code> element
-   itself.
+  <p>Given the <a href="#outlines">hypothetical section tree</a>, but
+   ignoring any sections created for <code><a href="#nav">nav</a></code> and
+   <code><a href="#aside">aside</a></code> elements, and any of their
+   descendants, if the root of the tree is <a href="#the-body0">the
+   <code>body</code> element</a>'s section, and it has only a single
+   subsection which is created by an <code><a
+   href="#article">article</a></code> element, then the header of <a
+   href="#the-body0">the <code>body</code> element</a> should be assumed to
+   be a site-wide header, and the header of the <code><a
+   href="#article">article</a></code> element should be assumed to be the
+   page's header.
 
-  <p>If a page does not contain a site-wide heading, then either its <a
-   href="#the-body0" title="the body element"><code>body</code> element</a>
-   must not have an <code><a href="#article">article</a></code> element that
-   is the only <code><a href="#article">article</a></code> or <code><a
-   href="#section">section</a></code> element descendant, ignoring any
-   descendants of any <code><a href="#article">article</a></code> elements,
-   of <a href="#the-body0">the <code>body</code> element</a>, or, <a
-   href="#the-body0">the <code>body</code> element</a> itself must not have a
-   heading associated with it.
+  <p>If a page starts with a heading that is common to the whole site, the
+   document must be authored such that, in the document's <a
+   href="#outlines">hypothetical section tree</a>, ignoring any sections
+   created for <code><a href="#nav">nav</a></code> and <code><a
+   href="#aside">aside</a></code> elements and any of their descendants, the
+   root of the tree is <a href="#the-body0">the <code>body</code>
+   element</a>'s section, its heading is the site-wide heading, <a
+   href="#the-body0">the <code>body</code> element</a> has just one
+   subsection, that subsection is created by an <code><a
+   href="#article">article</a></code> element, and that <code><a
+   href="#article">article</a></code>'s header is the page heading.
 
-  <p>If a document's <a href="#the-body0" title="the body
-   element"><code>body</code> element</a> has only one <code><a
-   href="#article">article</a></code> or <code><a
-   href="#section">section</a></code> element descendant, ignoring any
-   descendants of any <code><a href="#article">article</a></code> elements,
-   and that element is an <code><a href="#article">article</a></code>
-   element, then the page's heading is the heading of that element and the
-   site's heading is the heading of the <code><a
-   href="#body0">body</a></code> element. Otherwise, there is no site
-   heading, and the page heading is the heading of the <code><a
-   href="#body0">body</a></code> element.
+  <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><a
+   href="#nav">nav</a></code> and <code><a href="#aside">aside</a></code>
+   elements and any of their descendants, either <a href="#the-body0">the
+   <code>body</code> element</a> 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><a href="#article">article</a></code> element.
 
   <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




More information about the Commit-Watchers mailing list