Re: [csswg-drafts] [css-cascade-5] Add a R/W `CSSStyleSheet.layer` attribute for the layer name (#7002)

The CSS Working Group just discussed `CSSStyleSheet.layer`, and agreed to the following:

* `RESOLVED: No change to the previous resolution`

<details><summary>The full IRC log of that discussion</summary>
&lt;emilio> Topic: CSSStyleSheet.layer<br>
&lt;emilio> github:https://github.com/w3c/csswg-drafts/issues/7002<br>
&lt;emilio> miriam: we resolved on the main question, a CSStyleSheet.layer<br>
&lt;emilio> ... another question came up that fantasai and me weren't sure how to answer<br>
&lt;emilio> ... can the same sheet be imported in different layers<br>
&lt;emilio> ... is it guaranteed that different imports end up with different sheets or do we need to track all the different names?<br>
&lt;Rossen_> q?<br>
&lt;emilio> q+<br>
&lt;Rossen_> ack emilio<br>
&lt;heycam> emilio: the CSSOM guarantees each @import rule should be a different style sheet<br>
&lt;fantasai> emilio: The CSSOM guarantees that each @import rule should be a different style sheet<br>
&lt;heycam> ... so I think we're good<br>
&lt;emilio> RESOLVED: No change to the previous resolution<br>
&lt;heycam> emilio: Xiaocheng is talking about CSS Imports, not @import<br>
&lt;heycam> ... I don't know how CSS Modules behave, if they always create the same style sheet object, or multiple<br>
&lt;heycam> ... I was talking about @import rules<br>
&lt;heycam> ... presumably if Xiaocheng is asking, they must only create a single object<br>
&lt;dbaron> not sure if https://github.com/WICG/webcomponents/blob/gh-pages/proposals/css-modules-v1-explainer.md is still accurate<br>
&lt;heycam> chrishtr: we should continue to research then get back to the issue<br>
&lt;heycam> dbaron: I have some memory of a discussion in a TAG review about whethehr they create separate objects, can't remember the conclusion<br>
&lt;dbaron> https://github.com/w3ctag/design-reviews/issues/405<br>
&lt;emilio> Rossen_: let's re-discuss when Xiaocheng is back<br>
</details>


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


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

Received on Thursday, 15 September 2022 20:59:22 UTC