<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>25281</bug_id>
          
          <creation_ts>2014-04-06 22:06:26 +0000</creation_ts>
          <short_desc>Incorrect outline in last sample outline</short_desc>
          <delta_ts>2014-04-18 01:52:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jason Kiss">jason</reporter>
          <assigned_to name="steve faulkner">faulkner.steve</assigned_to>
          <cc>faulkner.steve</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>103461</commentid>
    <comment_count>0</comment_count>
    <who name="Jason Kiss">jason</who>
    <bug_when>2014-04-06 22:06:26 +0000</bug_when>
    <thetext>Shouldn&apos;t the outline for the last example in 4.3.10.2 Sample outlines be as follows?

&lt;ol class=&quot;brief&quot;&gt;
    &lt;li&gt; Ray&apos;s blog
        &lt;ol class=&quot;brief&quot;&gt;
            &lt;li&gt; &lt;i&gt;Untitled article&lt;/i&gt;
                &lt;ol class=&quot;brief&quot;&gt;
                    &lt;li&gt;&lt;i&gt;Untitled navigation section&lt;/i&gt; &lt;/li&gt;
                    &lt;li&gt; We&apos;re adopting a child!&lt;/li&gt;
                &lt;/ol&gt;
            &lt;/li&gt;
        &lt;/ol&gt;
    &lt;/li&gt;
&lt;/ol&gt;

In other words, aren&apos;t the &lt;nav&gt; and the H2&apos;s implied section at the same level within the &lt;article&gt;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104020</commentid>
    <comment_count>1</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2014-04-17 09:15:15 +0000</bug_when>
    <thetext>Hi Jason, no, but it is a little confusing, its easier to understand if you add headings to reflect the nesting structure. the &lt;nav&gt; is a subsection of the article

&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Test&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h1&gt;Ray&apos;s blog&lt;/h1&gt;

&lt;main&gt;
 &lt;article&gt;
&lt;header&gt;
&lt;h2&gt;article heading&lt;/h2&gt;
  &lt;nav&gt;
&lt;h3&gt;nav heading&lt;/h3&gt;
   &lt;a href=&quot;?t=-1d&quot;&gt;Yesterday&lt;/a&gt;;
   &lt;a href=&quot;?t=-7d&quot;&gt;Last week&lt;/a&gt;;
   &lt;a href=&quot;?t=-1m&quot;&gt;Last month&lt;/a&gt;
  &lt;/nav&gt; 
&lt;/header&gt;
  &lt;h2&gt;We&apos;re adopting a child!&lt;/h2&gt;

  &lt;p&gt;As of today, Janine and I have signed the papers to become
  the proud parents of baby Diane! We&apos;ve been looking forward to
  this day for weeks.&lt;/p&gt;
&lt;/article&gt; 
&lt;/main&gt;
&lt;/body&gt;
&lt;/html&gt;

resulting outline:

    Ray&apos;s blog
        article heading
            nav heading
        We&apos;re adopting a child!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104062</commentid>
    <comment_count>2</comment_count>
    <who name="Jason Kiss">jason</who>
    <bug_when>2014-04-18 01:52:12 +0000</bug_when>
    <thetext>Thanks, Steve.

I get that the &lt;nav&gt; is a subsection of the &lt;article&gt;, but was confused about the second &lt;h2&gt;. Working with your modified example, I guess the second &lt;h2&gt;, being of equal rank with the first &lt;h2&gt;, starts a new implied section in the outline. That implied section reflects content that is nested within the &lt;article&gt; in the DOM tree, but it is not part of the outline section established by the &lt;article&gt; and its first &lt;h2&gt;. Is that right?

Anyway, no need to waste time on this for my sake. I&apos;ve happily resigned myself to not fully understanding the algorithm, which is fine as long it remains unimplemented.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>