Bugzilla – Bug 282
Clarify what <header> means for document summaries and ToCs, and define what to do in case of missing <hx> elements.
Last modified: 2008-08-13 16:24:04 CEST
Index: source =================================================================== --- source (revision 1965) +++ source (revision 1966) @@ -8747,11 +8747,13 @@ version history information. <p>For the purposes of document summaries, outlines, and the like, - <code>header</code> elements are equivalent to the highest <span - title="rank">ranked</span> <code>h1</code>–<code>h6</code> element - descendant of the <code>header</code> element (the first such - element if there are multiple elements with that - <span>rank</span>).</p> + the text of <code>header</code> elements is defined to be the text + of the highest <span title="rank">ranked</span> + <code>h1</code>–<code>h6</code> element descendant of the + <code>header</code> element, if there are any such elements, and the + first such element if there are multiple elements with that + <span>rank</span>. If there are no such elements, then the text of + the <code>header</code> element is the empty string.</p> <p>Other heading elements in the <code>header</code> element indicate subheadings or subtitles.</p>