- From: Ryosuke Niwa <notifications@github.com>
- Date: Fri, 09 Dec 2016 22:45:33 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Saturday, 10 December 2016 06:46:08 UTC
Sorry, it looks like I missed an crucial point in https://github.com/w3c/csswg-drafts/issues/159 We’re exposing any node that’s not closed-shadow-hidden here, which means we’d return an element inside shadow tree as an offset parent. I don’t think we want that even in an open shadow tree. Let’s imagine you’re trying to traverse over ancestor offsetParents. Such a code would now walk over elements inside a shadow tree. I don’t think this is desirable just as much as finding nodes via querySelector or getElementsByTagName inside shadow trees are not desirable. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/497#issuecomment-266183411
Received on Saturday, 10 December 2016 06:46:08 UTC