Re: [csswg-drafts] [css-conditional-5][css-nesting-1] Feature detection for nesting (#8399)

There is also no way to detect support for the even more relaxed syntax where selectors can start with an identifier.

In Chrome 113 :

```js
CSS.supports('selector(& bar)')
// true
CSS.supports('selector(bar &)')
// true
```

Safari TP doesn't seem to work at all :

```js
CSS.supports('selector(&)')
// false
CSS.supports('selector(& bar)')
// false
CSS.supports('selector(bar &)')
// false
```

This seems problematic if the plan is to relax the syntax somewhere in the future.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 25 February 2023 14:11:34 UTC