Hi Guys,
As per the W3C HTML5 spec, http://www.w3.org/html/wg/drafts/html/m ... l#outlines
When exiting a sectioning root element, if the stack is not empty, the new "current section" variable shall be set to the deepest child section of current section.
I don't quite understand the logic here, can someone give me any advice?
I understand the logic when exiting a sectioning element, because it makes sense to set the new "current section" variable to the last section of current outline.
But I just don't understand why it's necessary to find the deepest child section when existing a sectioning root.
Thanks