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 16168 - I get validation errors when using a header element inside a footer. Has this changed in the current spec, but not been updated in the validators?
Summary: I get validation errors when using a header element inside a footer. Has this...
Status: RESOLVED WORKSFORME
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-29 20:48 UTC by contributor
Modified: 2012-09-06 15:25 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2012-02-29 20:48:27 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html
Multipage: http://www.whatwg.org/C#the-footer-element
Complete: http://www.whatwg.org/c#the-footer-element

Comment:
I get validation errors when using a header element inside a footer. Has this
changed in the current spec, but not been updated in the validators?

Posted from: 83.252.73.151
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11
Comment 1 contributor 2012-07-18 17:11:20 UTC
This bug was cloned to create bug 18073 as part of operation convergence.
Comment 2 Michael[tm] Smith 2012-09-05 21:11:41 UTC
The spec says the content model for footer is "Flow content, but with no header or footer element descendants." So the validator conforms to the spec by emitting an error message if you put a header inside a footer.
Comment 3 Ian 'Hixie' Hickson 2012-09-06 15:25:48 UTC
A <header> in a <footer> is non-conforming.