[Bug 13880] Something has to be fixed in the outline algorithm. It works fine if the root is a sectioning (root/content) element, although steps 5 and 6 are vacuous in this case. If on the other hand the root is an arbitrary element, this algorithm only produces an o

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13880

--- Comment #2 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-10-12 22:42:21 UTC ---
(The algorithm only applies to sectioning content or sectioning root elements,
because you can't reliably construct an outline from elsewhere. Consider:

   <div id=a>
     <h3>...</h3>
     <div id=b>
       <h4>...</h4>
       <h3>...</h3>
     </div>
   </div>

Consider making an outline for id=a then for id=b. Notice how the results would
be different, because when you lack the context of id=a, it looks like the <h4>
and <h3> are at the same level, but in fact the h4 is one level deeper than the
h3.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 12 October 2011 22:42:27 UTC