- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Mon, 23 Mar 2009 12:40:07 -0500
- To: Giovanni Campagna <scampa.giovanni@gmail.com>
- Cc: Brad Kemper <brad.kemper@gmail.com>, Dave Smith <smithd7@tcd.ie>, www-style@w3.org
On Mon, Mar 23, 2009 at 12:29 PM, Giovanni Campagna <scampa.giovanni@gmail.com> wrote: > <body> > <h1>Title > <p>text 1 > <h2>Subtitle > <p>Text 2 > <p>Text 3 > <h3>Sub-subtitle > <h4>Sub-sub-subtitle > <p>Text 4 > <h3>Sub-subtitle 2 > <p>Text 5 > <h1>Title 2 > </body> This markup is equivalent to the following explicitly sectioned markup, in terms of the sectioning algorithm: <body> <section> <h1>Title</h1> <p>Text 1</p> <section> <h1>Subtitle</h1> <p>Text 2</p> <p>Text 3</p> <section> <h1>Sub-subtitle</h1> <section> <h1>Sub-sub-subtitle</h1> <p>Text 4</p> </section> </section> <section> <h1>Sub-subtitle 2</h1> <p>Text 5</p> </section> </section> </section> <section> <h1>Title 2</h1> </section> </body> > What is ::content for h3? > Would it include <h4>? These should now be obvious from the explicitly sectioned markup I have provided. > What if I used <h7>? That's not an element in HTML5, so it wouldn't be recognized as a heading element (this is one of the reasons <section> was created, so you could 'reset' the header depth and avoid running out of header numbers!) > What if "::content" was used in conjuction with a non heading element > (like p::content)? > What does "::content" mean on its own? Does it wrap all children of :root? As I'm not the author of this proposal, and don't think I like it exactly as stated, I'll forgo answering these. ~TJ
Received on Monday, 23 March 2009 17:40:44 UTC