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

No, I think if ancestor's root is a shadow root, then we need to look 
for its parent and adjust `offsetLeft` and `offsetRight`.  Basically, 
we want to find the first ancestor `offsetParent` which is a direct 
child of one of ancestor trees of the node on which author called 
`offsetParent`.

-- 
GitHub Notification of comment by rniwa
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/159#issuecomment-266374843 
using your GitHub account

Received on Monday, 12 December 2016 08:58:21 UTC