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

> How should anonymous layers work? Maybe represent them with the empty string?

Yes. This is also consistent with how `CSSImportRule.layerName` distinguishes importing into an anonymous layer (empty string) vs. not importing into any layer (null).

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


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

Received on Wednesday, 30 March 2022 21:40:54 UTC