NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 89 - allow <blockquote> in <header>/<footer>; add an example for <footer>; allow <footer> anywhere in its section (clarification)
allow <blockquote> in <header>/<footer>; add an example for <footer>; allow <...
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: HTML5 schema
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
: 75 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-03 13:07 CET by Nobody
Modified: 2008-03-07 11:25 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nobody 2008-03-03 13:07:59 CET
Index: source
===================================================================
--- source	(revision 1249)
+++ source	(revision 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,7 +6961,28 @@
   <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>&lt;body>
+ &lt;footer>&lt;a href="../">Back to index...&lt;/a>&lt;/footer>
+ &lt;h1>Lorem ipsum&lt;/h1>
+ &lt;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.&lt;/p>
+ &lt;footer>&lt;a href="../">Back to index...&lt;/a>&lt;/footer>
+&lt;/body></pre>
+
+  </div>
 
 
   <h4>The <dfn><code>address</code></dfn> element</h4>
Comment 1 Henri Sivonen 2008-03-03 13:20:20 CET
*** Bug 75 has been marked as a duplicate of this bug. ***