Re: [csswg-drafts] [css-cascade-6] When using @import scope(), are the imported styles 'nested'? (#11756)

The CSS Working Group just discussed `[css-cascade-6] When using @import scope(), are the imported styles 'nested'?`, and agreed to the following:

* `RESOLVED: Close no change`

<details><summary>The full IRC log of that discussion</summary>
&lt;emilio> miriam: we decided to add `@import ... scope()` to scope entire sheets<br>
&lt;emilio> ... in the draft andruud wrote that imported sheets that are scoped, the selectors at the root don't become nested style rules<br>
&lt;emilio> ... meaning relative selectors at the top level not work<br>
&lt;emilio> ... we discussed that root level relative selectors should still be disallowed, that doesn't make nested relative selectors allowed now<br>
&lt;emilio> ... there's been some back and forth<br>
&lt;emilio> ... on the one hand we want to import a scope and behave more or less the same, but we don't want relative selectors at the root<br>
&lt;emilio> ... I don't think we want them to be allowed conditionally on how you import these<br>
&lt;emilio> ... with that and how we decided that `&amp;` was `:where(:scope)`<br>
&lt;emilio> ... and when imported they can write `&amp;`<br>
&lt;emilio> ... so we might want to close no change<br>
&lt;emilio> matthieud: you can wrap the stylesheet on `&amp; {}`<br>
&lt;emilio> astearns: other questions / comments?<br>
&lt;emilio> RESOLVED: Close no change<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11756#issuecomment-3200763924 using your GitHub account


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

Received on Tuesday, 19 August 2025 13:25:49 UTC