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

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

From: Ryosuke Niwa via GitHub <sysbot+gh@w3.org>
Date: Mon, 17 Dec 2018 22:21:39 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-448021231-1545085298-sysbot+gh@w3.org>
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

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