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: Mon, 12 Dec 2016 08:58:19 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-266374843-1481533098-sysbot+gh@w3.org>
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 

GitHub Notification of comment by rniwa
Please view or discuss this issue at 
using your GitHub account
Received on Monday, 12 December 2016 08:58:21 UTC

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