[Bug 25393] New: outline depth calculation should not include empty sections

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25393

            Bug ID: 25393
           Summary: outline depth calculation should not include empty
                    sections
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: faulkner.steve@gmail.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org

Including sections without Hx leads to illogical outline depths for headings
http://www.w3.org/html/wg/drafts/html/master/sections.html#outline-depth

example:

<body>
<h1>heading</h1>

<section>
<section>
<section>
<h1>heading</h1>
</section>
</section>
</section>

results in 

<h1>
<h4>
</body>

given that use of sectioning elements in the wild are prone to this type of
misuse, ignoring sections without headings seems prudent.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Saturday, 19 April 2014 12:41:52 UTC