[csswg-drafts] [mediaqueries-5][css-conditional-5][css-mixins-1] Order dependent rules and adopted stylesheets (#13041)

andruud has just created a new issue for https://github.com/w3c/csswg-drafts:

== [mediaqueries-5][css-conditional-5][css-mixins-1] Order dependent rules and adopted stylesheets ==
Adopted stylesheets are appended at the end of the [list of stylesheets](https://drafts.csswg.org/cssom/#documentorshadowroot-final-css-style-sheets). This means that names defined by order dependent rules (e.g. `@mixin`, `@custom-media`) won't be visible in the regular stylesheets at all, which doesn't seem ideal.

What can we do about this? Reconsider order dependence? Add a way to _prepend_ sheets? Accept this limitation, and hope that `@sheet` saves us (#11509)? 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13041 using your GitHub account


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

Received on Thursday, 30 October 2025 19:34:30 UTC