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

Actually, I think what we need to do is to walk up offset parents until we find an offset parent which is a [shadow-inclusive ancestor](https://dom.spec.whatwg.org/#concept-shadow-including-ancestor) of the context object.

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

Received on Monday, 17 December 2018 22:21:41 UTC