Re: [csswg-drafts] [mediaqueries] Consider `@media supports()` (#9375)

I would be ok with adding a `condition` attribute and use a CSS-defined import condition, separately from the `media` attribute. This would make it easier to extend import conditions with new things in the future since HTML and CSSOM wouldn't need to be changed again. I like it, actually! Let's call this Option 3.

I don't think extending the `media` attribute is good long-term, nor is having two attributes with the same processing.

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


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

Received on Wednesday, 13 December 2023 10:34:46 UTC