[html5] r1250 - /
whatwg at whatwg.org
whatwg at whatwg.org
Tue Feb 26 01:19:40 PST 2008
Author: ianh
Date: 2008-02-26 01:19:36 -0800 (Tue, 26 Feb 2008)
New Revision: 1250
Modified:
index
source
Log:
[c] (1) allow <blockquote> in <header>/<footer>; add an example for <footer>; allow <footer> anywhere in its section (clarification)
Modified: index
===================================================================
--- index 2008-02-26 07:59:43 UTC (rev 1249)
+++ index 2008-02-26 09:19:36 UTC (rev 1250)
@@ -8530,7 +8530,8 @@
<dd><a href="#prose1">Prose content</a>, including at least one descendant
that is <a href="#heading0">heading content</a>, but no <a
- href="#sectioning0">sectioning content</a> descendants, no <code><a
+ href="#sectioning0">sectioning content</a> descendants other than
+ <code><a href="#blockquote">blockquote</a></code> elements, no <code><a
href="#header">header</a></code> element descendants, and no <code><a
href="#footer">footer</a></code> element descendants.
@@ -8620,8 +8621,9 @@
<dd><a href="#prose1">Prose content</a>, but with no <a
href="#heading0">heading content</a> descendants, no <a
- href="#sectioning0">sectioning content</a> descendants, and no <code><a
- href="#footer">footer</a></code> element descendants.
+ href="#sectioning0">sectioning content</a> descendants other than
+ <code><a href="#blockquote">blockquote</a></code> elements, and no
+ <code><a href="#footer">footer</a></code> element descendants.
<dt>Element-specific attributes:
@@ -8640,9 +8642,29 @@
<p>Contact information for the section given in a <code><a
href="#footer">footer</a></code> should be marked up using the <code><a
- href="#address">address</a></code> element.</p>
- <!-- XXX examples needed -->
+ href="#address">address</a></code> element.
+ <p>Footers don't necessarily have to appear at the end of a section, though
+ they usually do.
+
+ <div class=example>
+ <p>Here is a page with two footers, one at the top and one at the bottom,
+ with the same content:</p>
+
+ <pre><body>
+ <footer><a href="../">Back to index...</a></footer>
+ <h1>Lorem ipsum</h1>
+ <p>A dolor sit amet, consectetur adipisicing elit, sed do eiusmod
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
+ veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
+ ea commodo consequat. Duis aute irure dolor in reprehenderit in
+ voluptate velit esse cillum dolore eu fugiat nulla
+ pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
+ culpa qui officia deserunt mollit anim id est laborum.</p>
+ <footer><a href="../">Back to index...</a></footer>
+</body></pre>
+ </div>
+
<h4 id=the-address><span class=secno>3.8.10 </span>The <dfn
id=address><code>address</code></dfn> element</h4>
Modified: source
===================================================================
--- source 2008-02-26 07:59:43 UTC (rev 1249)
+++ source 2008-02-26 09:19:36 UTC (rev 1250)
@@ -6864,8 +6864,9 @@
<dt>Content model:</dt>
<dd><span>Prose content</span>, including at least one descendant
that is <span>heading content</span>, but no <span>sectioning
- content</span> descendants, no <code>header</code> element
- descendants, and no <code>footer</code> element descendants.</dd>
+ content</span> descendants other than <code>blockquote</code>
+ elements, no <code>header</code> element descendants, and no
+ <code>footer</code> element descendants.</dd>
<dt>Element-specific attributes:</dt>
<dd>None.</dd>
<dt>DOM interface:</dt>
@@ -6943,7 +6944,8 @@
<dt>Content model:</dt>
<dd><span>Prose content</span>, but with no <span>heading
content</span> descendants, no <span>sectioning content</span>
- descendants, and no <code>footer</code> element descendants.</dd>
+ descendants other than <code>blockquote</code> elements, and no
+ <code>footer</code> element descendants.</dd>
<dt>Element-specific attributes:</dt>
<dd>None.</dd>
<dt>DOM interface:</dt>
@@ -6959,9 +6961,30 @@
<code>footer</code> should be marked up using the
<code>address</code> element.</p>
-<!-- XXX examples needed -->
+ <p>Footers don't necessarily have to appear at the end of a section,
+ though they usually do.</p>
+ <div class="example">
+ <p>Here is a page with two footers, one at the top and one at the
+ bottom, with the same content:</p>
+
+ <pre><body>
+ <footer><a href="../">Back to index...</a></footer>
+ <h1>Lorem ipsum</h1>
+ <p>A dolor sit amet, consectetur adipisicing elit, sed do eiusmod
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
+ veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
+ ea commodo consequat. Duis aute irure dolor in reprehenderit in
+ voluptate velit esse cillum dolore eu fugiat nulla
+ pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
+ culpa qui officia deserunt mollit anim id est laborum.</p>
+ <footer><a href="../">Back to index...</a></footer>
+</body></pre>
+
+ </div>
+
+
<h4>The <dfn><code>address</code></dfn> element</h4>
<dl class="element">
More information about the Commit-Watchers
mailing list