NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 282 - Clarify what <header> means for document summaries and ToCs, and define what to do in case of missing <hx> elements.
Clarify what <header> means for document summaries and ToCs, and define what ...
Status: RESOLVED INTENTIONAL
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-11 15:00 CEST by Henri Sivonen
Modified: 2008-08-13 16:24 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 2008-08-11 15:00: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>&ndash;<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>&ndash;<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>