- From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
- Date: Thu, 09 Aug 2007 01:07:34 +1000
- 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