[html5] r826 - /
whatwg at whatwg.org
whatwg at whatwg.org
Thu May 17 00:05:01 PDT 2007
Author: ianh
Date: 2007-05-17 00:05:00 -0700 (Thu, 17 May 2007)
New Revision: 826
Modified:
index
source
Log:
[ac] (0) Define how to distinguish site-wide headers from page headers
Modified: index
===================================================================
--- index 2007-05-17 06:29:06 UTC (rev 825)
+++ index 2007-05-17 07:05:00 UTC (rev 826)
@@ -435,6 +435,9 @@
<li><a href="#associatedSection"><span class=secno>3.8.11.2.
</span>Determining which heading and section applies to a
particular node</a>
+
+ <li><a href="#distinguishing"><span class=secno>3.8.11.3.
+ </span>Distinguishing site-wide headers from page headers</a>
</ul>
</ul>
@@ -8873,6 +8876,46 @@
</table>
</div>
+ <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>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 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 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, repeated on every
+ page.
+
<h3 id=prose><span class=secno>3.9. </span>Prose</h3>
<h4 id=the-p><span class=secno>3.9.1. </span>The <dfn
Modified: source
===================================================================
--- source 2007-05-17 06:29:06 UTC (rev 825)
+++ source 2007-05-17 07:05:00 UTC (rev 826)
@@ -7342,8 +7342,42 @@
</div>
+ <h5>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>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>
+ <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 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,
+ repeated on every page.</p>
+
+
+
<h3>Prose</h3>
<h4>The <dfn><code>p</code></dfn> element</h4>
More information about the Commit-Watchers
mailing list