W3C home > Mailing lists > Public > public-html@w3.org > August 2007

Re: 3.8. Sections

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Thu, 09 Aug 2007 01:07:34 +1000
Message-ID: <46B9DC36.9000300@lachy.id.au>
To: Sander Tekelenburg <st@isoc.nl>
CC: public-html@w3.org

Sander Tekelenburg wrote:
> AFAIK "parent" == "nearest ancestor".

Yes, that is technically true, but that is not the same as saying that 
"parent *sectioning element*" == "nearest ancestor *sectioning 
element*".  This example was given earlier:

   <section>
     <div>
       <section>

The inner section's parent is not a sectioning element, so it does not 
have a "parent sectioning element".  It does, however, have an ancestor 
sectioning element: its grandparent in this case.

So, there are cases where "nearest ancestor sectioning element" does 
equal "parent sectioning element", but in other cases it is the 
grandparent, great grandparent, or a more distant relative.

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Wednesday, 8 August 2007 15:08:41 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:48 UTC