This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Shouldn't the outline for the last example in 4.3.10.2 Sample outlines be as follows? <ol class="brief"> <li> Ray's blog <ol class="brief"> <li> <i>Untitled article</i> <ol class="brief"> <li><i>Untitled navigation section</i> </li> <li> We're adopting a child!</li> </ol> </li> </ol> </li> </ol> In other words, aren't the <nav> and the H2's implied section at the same level within the <article>?
Hi Jason, no, but it is a little confusing, its easier to understand if you add headings to reflect the nesting structure. the <nav> is a subsection of the article <!DOCTYPE html> <html> <head> <title>Test</title> </head> <body> <h1>Ray's blog</h1> <main> <article> <header> <h2>article heading</h2> <nav> <h3>nav heading</h3> <a href="?t=-1d">Yesterday</a>; <a href="?t=-7d">Last week</a>; <a href="?t=-1m">Last month</a> </nav> </header> <h2>We're adopting a child!</h2> <p>As of today, Janine and I have signed the papers to become the proud parents of baby Diane! We've been looking forward to this day for weeks.</p> </article> </main> </body> </html> resulting outline: Ray's blog article heading nav heading We're adopting a child!
Thanks, Steve. I get that the <nav> is a subsection of the <article>, but was confused about the second <h2>. Working with your modified example, I guess the second <h2>, being of equal rank with the first <h2>, starts a new implied section in the outline. That implied section reflects content that is nested within the <article> in the DOM tree, but it is not part of the outline section established by the <article> and its first <h2>. Is that right? Anyway, no need to waste time on this for my sake. I've happily resigned myself to not fully understanding the algorithm, which is fine as long it remains unimplemented.