W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2016

Re: [csswg-drafts] HTMLElement.prototype.offsetParent leaks a node inside a shadow tree

From: Ryosuke Niwa via GitHub <sysbot+gh@w3.org>
Date: Wed, 14 Dec 2016 00:56:48 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-266910450-1481677006-sysbot+gh@w3.org>
Actually, we can probably just say “if ancestor is a shadow-including 
ancestor” since if ancestor’s root is a shadow-including ancestor of 
the element, then ancestor is definitely an ancestor of the element in
 the flat tree as well.  The only way flat tree's can ancestors can 
differ from that of shadow-including ancestors is by slots but an 
element inside a slot’s root can never be a shadow-including ancestor 
of the starting element.

GitHub Notification of comment by rniwa
Please view or discuss this issue at 
using your GitHub account
Received on Wednesday, 14 December 2016 00:56:54 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:06 UTC