Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

fix "Contexts in which this element can be used:" of <header> and <footer> element #1596

Closed
mtrootyy opened this issue Aug 5, 2018 · 2 comments

Comments

@mtrootyy
Copy link

mtrootyy commented Aug 5, 2018

https://w3c.github.io/html/sections.html#the-header-element

Contexts in which this element can be used:

  • Where flow content is expected.


The above should be fixed following;

Contexts in which this element can be used:

  • Where flow content is expected, but with no address, dt, or th element ancestors, or header, footer elements that are not ancestors of sectioning content which is a ancestors of the header.

https://w3c.github.io/html/sections.html#the-footer-element

Contexts in which this element can be used:

  • Where flow content is expected.


The above should be fixed following;

Contexts in which this element can be used:

  • Where flow content is expected, but with no address, dt, or th element ancestors, or header, footer elements that are not ancestors of sectioning content which is a ancestors of the footer.

 
 
 
Ref: https://w3c.github.io/html/grouping-content.html#the-address-element

Content model:

  • Flow content, but with no heading content descendants, no sectioning content descendants, and no main, header, footer, or address element descendants.

Ref: https://w3c.github.io/html/grouping-content.html#the-dt-element

Content model:

  • Flow content, but with no header, footer, sectioning content, or heading content descendants.

Ref: https://w3c.github.io/html/tabular-data.html#the-th-element

Content model:

  • Flow content, but with no header, footer, main, sectioning content, or heading content descendants.

Ref: https://w3c.github.io/html/sections.html#the-header-element

Content model:

  • Flow content, but with no main element descendants, or header, footer elements that are not descendants of sectioning content which is a descendant of the header.

Ref: https://w3c.github.io/html/sections.html#the-footer-element

Content model:

  • Flow content, but with no main element descendants, or header, footer elements that are not descendants of sectioning content which is a descendant of the footer.
@carolgilabert
Copy link
Contributor

I can look into this 🙋‍♀️

@siusin
Copy link
Contributor

siusin commented Jul 29, 2019

Thanks all.

We're closing this issue on the W3C HTML specification because the W3C and WHATWG are now working together on HTML, and all issues are being discussed on the WHATWG repository.

If you filed this issue and you still think it is relevant, please open a new issue on the WHATWG repository and reference this issue (if there is useful information here). Before you open a new issue, please check for existing issues on the WHATWG repository to avoid duplication.

If you have questions about this, please open an issue on the W3C HTML WG repository or send an email to public-html@w3.org.

@siusin siusin closed this as completed Jul 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants