Re: [csswg-drafts] [cssom] CSSImportRule.media should be nullable, maybe? Difference between Chromium and Firefox (#12063)

I think this should be accepted as an obvious bugfix (of an oversight in #8773), but for clarity:

> Chromium seems to not represent an `@import` with a non-matching `supports()` clause in the CSSOM at all.

Chromium does not support `supports()` in `@import`. Even `@import ... supports(color)` fails to parse. The browser support status table on MDN is confusing. But Chromium does represent `@import url(style.css) not all` in the CSSOM.

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


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

Received on Tuesday, 30 September 2025 03:17:15 UTC