Re: [csswg-drafts] [css-cascade-7] Should anonymous @sheets be explicitly disallowed? (#12000)

The CSS Working Group just discussed `[css-cascade-7] Should anonymous @sheets be explicitly disallowed?`, and agreed to the following:

* `RESOLVED: Require a name for every @sheet`

<details><summary>The full IRC log of that discussion</summary>
&lt;emeyer> kurt: You can have anonymous layers, but for sheets, rules don’t apply until they’re imported but you can’t import an anonymous sheet<br>
&lt;emeyer> …So I think we should disallow that<br>
&lt;emeyer> TabAtkins: Agreed<br>
&lt;bramus> +1<br>
&lt;emeyer> astearns: Any reason someone might want to set up a bunch of sheets and then add a name later?<br>
&lt;emeyer> TabAtkins: No<br>
&lt;emeyer> …We’d have to make the rule mutable, and we aren’t consistent about that<br>
&lt;emeyer> …Worst case, you can put in a dummy name<br>
&lt;emeyer> kurt: If a sheet could have wildcards, maybe, but we don’t<br>
&lt;emeyer> kbabbitt: It does imply that when we write the CSSOM, the sheet name should be immutable<br>
&lt;emeyer> TabAtkins: We could make it mutable but a DOM string, but I don’t think there’s a great reason to make it mutable<br>
&lt;emeyer> astearns: Proposed resolution is to require a name for every @sheet rule<br>
&lt;emeyer> …Objections?<br>
&lt;emeyer> (none)<br>
&lt;emeyer> RESOLVED: Require a name for every @sheet<br>
</details>


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


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

Received on Thursday, 3 April 2025 13:56:03 UTC