<?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>6750</bug_id>
          
          <creation_ts>2009-04-02 14:36:28 +0000</creation_ts>
          <short_desc>&lt;header&gt;&lt;blockquote&gt;&lt;h1&gt; issues</short_desc>
          <delta_ts>2010-10-04 14:32:15 +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>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</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="Simon Pieters">zcorpan</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <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>24502</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2009-04-02 14:36:28 +0000</bug_when>
    <thetext>Two issues:
1. &lt;header&gt;&apos;s content model is wrong
2. outline algorithm is probably wrong


The spec says about &lt;header&gt;:

&quot;Content model:
Flow content, including at least one descendant that is heading content, but no sectioning content descendants, no header element descendants, and no footer element descendants.&quot;

This means that

   &lt;header&gt;&lt;blockquote&gt;&lt;h1&gt;x&lt;/h1&gt;&lt;/blockquote&gt;&lt;/header&gt;

is allowed, since blockquote is sectioning root but not sectioning content.

Testing with http://gsnedders.html5.org/outliner/ and http://james.html5.org/outliner.html it appears that the outline algorithm doesn&apos;t ignore sectioning roots that are descendants of &lt;header&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24503</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2009-04-02 15:24:13 +0000</bug_when>
    <thetext>The outline algorithm says

&quot;For the purposes of document summaries, outlines, and the like, the text of header elements is defined to be the text of the highest ranked h1–h6 element descendant of the header element, if there are any such elements, and the first such element if there are multiple elements with that rank. If there are no such elements, then the text of the header element is the empty string.&quot;

This should ignore sectioning root subtrees.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24505</commentid>
    <comment_count>2</comment_count>
    <who name="Geoffrey Sneddon">geoffers+w3cbugs</who>
    <bug_when>2009-04-02 15:40:42 +0000</bug_when>
    <thetext>No, that&apos;s under &quot;the header element&quot;, not &quot;creating an outline&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24975</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-04-30 18:23:12 +0000</bug_when>
    <thetext>As far as I can tell this is now fixed, since &lt;hgroup&gt; can only contain h1-h6, and the new &lt;header&gt; isn&apos;t sectioning.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>