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

@cdoublev you mean `MediaList` not `MediaRule` right?

I think making it nullable if the stylesheet is null is fine, though it's technically lossy? Might be worth differentiating between the StyleSheet's media and the Rule's media... 

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12063#issuecomment-3351688329 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 12:01:07 UTC