This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24853 - allow nested <header> tags
Summary: allow nested <header> tags
Status: RESOLVED MOVED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: steve faulkner
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-28 07:54 UTC by netmosfera
Modified: 2016-04-27 00:59 UTC (History)
5 users (show)

See Also:


Attachments

Description netmosfera 2014-02-28 07:54:28 UTC
http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#the-header-element

states:

Flow content, but with no header, footer, or main element descendants.

this is pointless! so i can have an <article> inside <header> but it can't have an <header> ? what is the point of this limitation?

the content model of <header> and <footer> should be free, imho
Comment 1 netmosfera 2014-02-28 13:27:31 UTC
what's not clear is: why are sectioning elements allowed but headers inside them not?

**you disallow them both or you allow them both**

by the way, that's an use case that i often see:

<article>
    <header>
        <h1>Flexbox the definitive guide</h1>
        <aside>
            <header>
                <h1>About the author</h1>
                <p>A nice guy that hates everything and everyone</p>
                <p><a href="./wes/">Contact Him!</a></p>
            </header>
            <p>This article is brought to you by Wesley,
            skilled expert in "always-in-beta" applications
            that will never see the light</p>
        </aside>
    </header>
    <p>Actual article here Actual article here Actual article here
    Actual article here Actual article here Actual article
    here Actual article here</p>
</article>

in this case, the "about the author" is not part of the actual contents, it is part of the header of the article imho

hth
Comment 2 Travis Leithead [MSFT] 2016-04-27 00:59:57 UTC
HTML5.1 Bugzilla Bug Triage: Moved to Github issue: https://github.com/w3c/html/issues/273

To file additional issues please use the W3C HTML5 Issue tracker: https://github.com/w3c/html/issues/new Thanks!