W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 2011

[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

From: <bugzilla@jessica.w3.org>
Date: Wed, 12 Oct 2011 22:42:21 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RE7VF-0007ph-OL@jessica.w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:05 UTC