NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 555 - Don't allow <header> in <address> or <footer>.
Don't allow <header> in <address> or <footer>.
Status: RESOLVED DUPLICATE of bug 497
Product: Validator.nu
Classification: Unclassified
Component: HTML5 schema
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-27 14:31 CEST by Henri Sivonen
Modified: 2009-07-15 08:17 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2009-05-27 14:31:01 CEST
Index: source
===================================================================
--- source	(revision 3050)
+++ source	(revision 3051)
@@ -13361,7 +13361,8 @@
    <dt>Content model:</dt>
    <dd><span>Flow 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, and no <code>header</code> or <code>footer</code>
+   element descendants.</dd>
    <dt>Content attributes:</dt>
    <dd><span>Global attributes</span></dd>
    <dt>DOM interface:</dt>
@@ -13421,7 +13422,7 @@
    <dt>Content model:</dt>
    <dd><span>Flow content</span>, but with no <span>heading
    content</span> descendants, no <span>sectioning content</span>
-   descendants, no <code>footer</code> element descendants, and no
+   descendants, and no <code>header</code>, <code>footer</code>, or
    <code>address</code> element descendants.</dd>
    <dt>Content attributes:</dt>
    <dd><span>Global attributes</span></dd>
Comment 1 Michael[tm] Smith 2009-05-28 08:15:21 CEST
see bug 497 and http://bugzilla.validator.nu/attachment.cgi?id=95
I think even before that change, the assertions-checking code already reported  <header> in <address> or <footer> as an error. But when Hixie initially changed the spec for <header> (at the time he added <hgroup>), the new <header> spec didn't (re)state that constraint which the old <header> spec had. But he re-added it shortly afterward.
Comment 2 Michael[tm] Smith 2009-07-15 08:17:57 CEST

*** This bug has been marked as a duplicate of bug 497 ***