[csswg-drafts] [css-pseudo] purpose of focus-within?

jimmywarting has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-pseudo] purpose of focus-within? ==
Just discovered [focus-within](https://drafts.csswg.org/selectors-4/#the-focus-within-pseudo).
what dose it solve that `:has()` pseudo class can't fix?

eg: 
```css
form:has(:focus)
```

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1670 using your GitHub account

Received on Tuesday, 1 August 2017 10:45:24 UTC