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: Takayoshi Kochi via GitHub <sysbot+gh@w3.org>
Date: Wed, 14 Dec 2016 05:07:34 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-266944076-1481692052-sysbot+gh@w3.org>
What's so wrong with exposing an element within open shadow root? That
 element is also discoverable with 'root.querySelector()'.
For encapsulation, closed shadow root already offers hiding all 
elements against `.offsetParent` from outside.


-- 
GitHub Notification of comment by TakayoshiKochi
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/159#issuecomment-266944076 
using your GitHub account
Received on Wednesday, 14 December 2016 05:07:48 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:27 UTC