- From: 一丝 via GitHub <sysbot+gh@w3.org>
- Date: Tue, 07 Feb 2023 04:50:23 +0000
- To: public-css-archive@w3.org
@Loirooriol Chrome(e.g. 109) returns `null` for `document.querySelector("&")` in browsers that don't support CSS nesting. So, the functions detected by JS need a little adjustment: ```js function supportsCSSNesting() { try { const s = document.querySelector("&"); if (!s) return false; return true; } catch (e) { return false; } } ``` Unfortunately, `@supports(selector(&))` and `CSS.supports('selector(&)')` always returns true. ![image](https://user-images.githubusercontent.com/2784308/217151058-8475eb80-4fba-4671-9d7d-ee4bec19d464.png) -- GitHub Notification of comment by yisibl Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8399#issuecomment-1420197844 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 7 February 2023 04:50:25 UTC