Re: [csswg-drafts] [selectors4] ":scope" inside ":matches"-like funktions?

But `:scope` already has another meaning, e.g.

```js
element.querySelector(".foo:matches(:scope > :last-child, #bar)")
```

with your proposal `:scope` would refer to `.foo` instead of to `element`.

Anyways, have you considered `*`?

```css
button:matches(.superTheme .superTheme *)
```



-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3108#issuecomment-421385523 using your GitHub account

Received on Friday, 14 September 2018 14:57:44 UTC