- From: Ryosuke Niwa <notifications@github.com>
- Date: Fri, 18 Aug 2017 02:09:04 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 18 August 2017 02:10:03 UTC
> Yeah, but what part of that is "accidental"? Again, the only way to traverse the boundaries is using a selector that traverses the boundaries. There's only a handful of specific pseudos that do this; nothing else will. What's wrong with library/framework code being able to cross shadows when the user of the library explicitly asks them to? The problem is that accidentally passing a selector which crosses a shadow boundary isn't really explicit. Whether something is concerned as explicit is quite subjective so I'm not certain if we can come to an agreement on that. What I can say that is that we'd object to making querySelector returning a node outside of its own tree, and would not implement it in WebKit. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/463#issuecomment-323240700
Received on Friday, 18 August 2017 02:10:03 UTC