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

Sorry I misunderstood. Didn't realize you were talking about import assertion. Yeah, we can pass a layer name there.

There's also one thing that I think we missed in the previous discussion. The same sheet can be imported for multiple times into different layers (e.g., when used by different modules), which means we need to make sure that each import creates a different `CSSStyleSheet` object. Is this already guaranteed, or do we need more work?

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


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

Received on Friday, 3 June 2022 17:24:40 UTC