W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2009

[whatwg] Sectioning

From: Wesley Walser <waw325@gmail.com>
Date: Tue, 3 Nov 2009 19:54:49 -0500
Message-ID: <7666665a0911031654r3921f831h9ba9889514a20db0@mail.gmail.com>
I had to read it several times to get it as well.

"...regardless of what implied sections other headings may have created."

That is the part that answers the questions I believe. Yes, any
element that starts an explicit section is *not* a subsection of
nearest implicit sections. Also, any element that create an explicit
section, ends any implicit sections on it's same level.

Thanks,
Wes

On Mon, Nov 2, 2009 at 6:13 PM, Elizabeth Castro <lcastro at cookwood.com> wrote:
> In 4.4.11, it says
>
> Sectioning content?elements are always considered subsections of their
> nearest ancestor element of?sectioning content, regardless of what implied
> sections other headings may have created.
>
> Does that line mean that a section element is *not* a subsection of the
> nearest implied section?
> So, if there is no other explicit sectioning content, as in the example
> given, then what would the section element be a subsection of?
> I don't get why Thud ends up on an equal level as Quux and Bar. It seems
> like as a section under h2 it should be a subsection of that Quux h2, just
> as the implied Bar section is a subsection of the implied Foo section.
> thanks,
> Liz
>
>
Received on Tuesday, 3 November 2009 16:54:49 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:18 UTC