NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 497 - add <hgroup>, change <header> assertions
add <hgroup>, change <header> assertions
Classification: Unclassified
Component: HTML5 schema
All All
: P2 normal
Assigned To: Michael[tm] Smith
: 555 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2009-05-01 02:01 CEST by Michael[tm] Smith
Modified: 2009-07-15 08:17 CEST (History)
2 users (show)

See Also:

patch with proposed change (6.77 KB, patch)
2009-05-01 11:37 CEST, Michael[tm] Smith

Note You need to log in before you can comment on or make changes to this bug.
Description Michael[tm] Smith 2009-05-01 02:01:25 CEST
Comment 1 Michael[tm] Smith 2009-05-01 05:45:43 CEST
So after looking, I find that the latest spec change does not affect the <header> content model in the schema. But it does affect the assertions. For one, it removes the constraint that <header> can't contain sectioning content. But most signficantly in terms of the asserionts code, it removes the constraint that <header> must have at least one h1-h6 descendant.
Comment 2 Michael[tm] Smith 2009-05-01 11:37:20 CEST
Created attachment 95 [details]
patch with proposed change


 - no changes to <header> in schema
 - includes change for not reporting <footer> as a sectioning element (bug 498)
 - removes check for required h1-h6 <header> descendant
 - removes all related openHeaders etc. stuff for heading content (was only used for checking for required h1-h6 <header> descendant
 - removes check that <header> can't contain sectioning content
Comment 3 Henri Sivonen 2009-05-20 10:55:28 CEST
Looks good.
Comment 5 Michael[tm] Smith 2009-07-15 08:17:57 CEST
*** Bug 555 has been marked as a duplicate of this bug. ***