Bugzilla – Bug 555
Don't allow <header> in <address> or <footer>.
Last modified: 2009-07-15 08:17:57 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>
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.
*** This bug has been marked as a duplicate of bug 497 ***