W3C home > Mailing lists > Public > www-style@w3.org > March 2009

Re: CSS3 missing selector

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 23 Mar 2009 12:40:07 -0500
Message-ID: <dd0fbad0903231040q4dd46350w22d0df380c4bd7f3@mail.gmail.com>
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:

    <p>Text 1</p>
      <p>Text 2</p>
      <p>Text 3</p>
          <p>Text 4</p>
        <h1>Sub-subtitle 2</h1>
        <p>Text 5</p>
    <h1>Title 2</h1>

> 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

> 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.

Received on Monday, 23 March 2009 17:40:44 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:25 UTC