Re: [csswg-drafts] [css-cascade-5] Cascade Layers need CSSOM support (#6576)

Wait, there's one last thing missing: We need to be able to distinguish whether a CSSImportRule is unlayered or in an anonymous layer.

How about making `layerName` nullable (`readonly attribute CSSOMString? layerName;`), so that it returns `null` when the rule is not layered?

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


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

Received on Wednesday, 24 November 2021 00:48:40 UTC