NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 252 - Fix an error in the outlining algorithm that broke outlines for documents like <body><h1/><h2/><h3/><h2/>. (credit: jg, gs)
Fix an error in the outlining algorithm that broke outlines for documents lik...
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-06-18 15:23 CEST by Henri Sivonen
Modified: 2008-06-18 15:28 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-06-18 15:23:57 CEST
Index: source
===================================================================
--- source	(revision 1780)
+++ source	(revision 1781)
@@ -7774,7 +7774,8 @@
 
       <p>Otherwise, if the element being entered has a
       <span>rank</span> equal to or greater than the heading of the
-      <var title="">current section</var>, then create a new <span
+      last section of the <span>outline</span> of the <var
+      title="">current outlinee</var>, then create a new <span
       title="concept-section">section</span> and append it to the
       <span>outline</span> of the <var title="">current outlinee</var>
       element, so that this new section is the new last section of
@@ -7814,6 +7815,10 @@
       <p>Push the element being entered onto the stack. (This causes
       the algorithm to skip any descendants of the element.)</p>
 
+      <p class="note">Recall that <code>h1</code> has the
+      <em>highest</em> rank, and <code>h6</code> has the lowest
+      rank.</p>
+
      </dd>