Skip to content
Permalink
Browse files

[c] (1) allow <blockquote> in <header>/<footer>; add an example for <…

…footer>; allow <footer> anywhere in its section (clarification)

git-svn-id: http://svn.whatwg.org/webapps@1250 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Feb 26, 2008
1 parent f9ed67f commit c4e43a1b235aadef93109d83d5e4a66a9cfdddfc
Showing with 54 additions and 9 deletions.
  1. +27 −5 index
  2. +27 −4 source
32 index
@@ -8530,7 +8530,8 @@ XXX attributes to give the date authored, date published

<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 @@ XXX attributes to give the date authored, date published

<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,8 +8642,28 @@ XXX attributes to give the date authored, date published

<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>&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 id=the-address><span class=secno>3.8.10 </span>The <dfn
id=address><code>address</code></dfn> element</h4>
31 source
@@ -6864,8 +6864,9 @@ XXX attributes to give the date authored, date published
<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 @@ XXX attributes to give the date authored, date published
<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 @@ XXX attributes to give the date authored, date published
<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>

0 comments on commit c4e43a1

Please sign in to comment.
You can’t perform that action at this time.