- With @scope (:host), you can make the shadow host a scoping root.
- Since :scope is defined to match the scoping root, it would then be able to match that element, even if it's featureless.
Or would it?
Selectors:
A featureless element does not match any selector at all, except those it is explicitly defined to match (and logical combination pseudo-classes representing those selectors).
Specs appear to be saying that @scope (:host) { :scope { ... } } would match, except that they aren't explicitly saying this.
Should we state this explicitly?
@mirisuzanne @tabatkins
Reactions are currently unavailable
Or would it?
Selectors:
A featureless element does not match any selector at all, except those it is explicitly defined to match (and logical combination pseudo-classes representing those selectors).
Specs appear to be saying that @scope (:host) { :scope { ... } } would match, except that they aren't explicitly saying this.
Should we state this explicitly?
@mirisuzanne @tabatkins