- From: Ryosuke Niwa via GitHub <sysbot+gh@w3.org>
- Date: Sat, 10 Dec 2016 06:45:20 +0000
- To: public-css-archive@w3.org
Sorry, it looks like I missed an crucial point here. We’re exposing any node that’s not [closed-shadow-hidden](https://dom.spec.whatwg.org/#concept-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 `offsetParent`s. 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. -- GitHub Notification of comment by rniwa Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/159#issuecomment-266183397 using your GitHub account
Received on Saturday, 10 December 2016 06:45:27 UTC