W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2016

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

From: Hayato Ito via GitHub <sysbot+gh@w3.org>
Date: Wed, 22 Jun 2016 04:31:51 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-227640435-1466569911-sysbot+gh@w3.org>
> Anyways, it doesn't really matter for this case if offsetParent of C
 is document.body or null. Neither of these variants allow to find out
 that C's positioning is actually affected by B. Neither of these 
variants allow to find out that the C is inside a fixed container.

It sounds that the users of a closed shadow tree should be aware of 
this limitation.
We do not have an answer for that, as of now.

-- 
GitHub Notification of comment by hayatoito
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/159#issuecomment-227640435 
using your GitHub account
Received on Wednesday, 22 June 2016 04:31:54 UTC

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