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

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 
https://github.com/w3c/csswg-drafts/issues/159#issuecomment-266910450 
using your GitHub account

Received on Wednesday, 14 December 2016 00:56:54 UTC