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](https://github.com/w3c/csswg-drafts/pull/8773))

I am wrong here because in current version of Chrome and FF ESR, `CSSImportRule.media` always represents a `MediaRule`, even when there is no associated (imported) style sheet. So `CSSImportRule.media` should be defined as representing `MediaRule` created from the `<media-query-list>` specified in the prelude of `@import`.

-- 
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12063#issuecomment-3349806298 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:30:40 UTC