Re: [w3c/webcomponents] Support `>>>` combinator in static profile (#78)

@equinusocio no, `/deep/` is deprecated for "dynamic profile" (i.e. use in CSS styles), while here we are discussing any way for "static profile" (use from `querySelector()` API).

So far some options:
1. Keep `/deep/` (or `>>>` as its alias) for static profile
2. Introduce an alternative API (e.g. `collectMatchingElementsInFlatTree`)
3. Other?

The use case is to find *some* element in the *entire* flat tree, but the controversial point is the nature of `/deep/` is too powerful against Shadow DOM's encapsulation.

The problem of *not* having this feature is that finding such an element in flat tree is inefficient in the current available APIs.

-- 
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/78#issuecomment-333713530

Received on Tuesday, 3 October 2017 01:33:25 UTC