Re: [csswg-drafts] [css-cascade-6] Add a `media()` function for `@import` (#10972)

As noted in https://github.com/w3c/csswg-drafts/pull/11237#issuecomment-2505521838, defining `<media()> = media(<media-query-list>)` could be useful.

I do not know if [`if()`](https://drafts.csswg.org/css-values-5/#funcdef-if) intentionally uses `media(<media-query>)` but `color: if(media(unknown): green)` would be invalid, but not with `media(<media-query-list>)`, if I am not mistaken.

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


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

Received on Thursday, 28 November 2024 08:52:53 UTC