- From: Miriam Suzanne via GitHub <sysbot+gh@w3.org>
- Date: Tue, 18 Jul 2023 21:46:08 +0000
- To: public-css-archive@w3.org
mirisuzanne has just created a new issue for https://github.com/w3c/csswg-drafts: == [cssom] Handle import conditions instead of media queries == The larger goal here is to [allow authors to apply new css features (like cascade layers) while linking stylesheets](https://github.com/whatwg/html/issues/7540). In order to do that, we've defined an [import condition](https://drafts.csswg.org/css-cascade/#import-conditions) production which can be used in both CSS `@import` and the HTML `media` attribute. As [Domenic points out](https://github.com/whatwg/html/pull/7658#pullrequestreview-917695147): > - https://drafts.csswg.org/cssom/#concept-css-style-sheet-media does not need changes but will start being given import condition strings instead of media query strings by HTML. That leads to changes to the following sections: > - https://drafts.csswg.org/cssom/#media-queries needs to handle import conditions instead of media queries. (But, we cannot change the names `MediaList` and `mediaText`.) /cc @tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9087 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 18 July 2023 21:46:10 UTC