- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Fri, 29 Oct 2021 16:26:35 +0000
- To: public-css-archive@w3.org
The precise interleaving of layers and conditions in the import rule isn't specified, so we should be clearer about this, but I agree with @mirisuzanne on the details of how each case should work. The mental model should be that a layer is wrapped around the contents of the import (even if they're empty due to a load failure), and a condition is wrapped around the whole thing: ```css @import url(...) layer(foo) (condition: bar); /* equivalent to */ @media (condition: bar) { @layer foo { ...import contents... } } ``` -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6776#issuecomment-954880607 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 29 October 2021 16:26:36 UTC