Bugzilla – Bug 89
allow <blockquote> in <header>/<footer>; add an example for <footer>; allow <footer> anywhere in its section (clarification)
Last modified: 2008-03-07 11:25:30 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><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>
*** Bug 75 has been marked as a duplicate of this bug. ***