Open dominykas opened 10 years ago
From tae...@gmail.com on November 19, 2012 03:47:45
Note that you can already do something similar with jQuery : $(outline.sections[0].sections[1].heading).nextUntil(outline.sections[0].sections[2].heading)
Note: this is essentially what the spec means by "Associate current outline target with current section."
What I haven't figured out yet, is how to actually deal with this, as I do not want to tack on the properties on top of existing elements, plus the outline would need to be updated as the DOM gets updated (meaning elements would need to be added/removed to/from the sections/outlines, etc)
Note [to self?]: why isn't a currentOutlineTarget
getting associated with current section when entering sectioning root, but it is associated when entering sectioning content? Is the parentSection
the association, or?... What is the "associated" section of a sectioning root anyways?
From tae...@gmail.com on November 19, 2012 13:35:54
What steps will reproduce the problem? 1. HTML5Outline(document.body)
Original issue: http://code.google.com/p/h5o/issues/detail?id=17