Re: [csswg-drafts] Proposal: CSS @sheet (#11509)

> Also, in case this is also a source of confusion, for consistency I have been using the same identifier names as the original and updated explainer:
> 
> <style id="sheet">
> @sheet foo {
>   div {
>     color: red;
>   }
> }
> </style>
> Where "#sheet" is not a URL fragment identifier to a sheet, but the id of the style element that contains a sheet. "#foo" is the identifier of the sheet inside the style element.
> 
> I see people calling any other CSS rules in the #sheet id style element that are not inside a `@sheet` block "rules outside of [@sheets](https://github.com/sheets)", so I am too. So `<link rel="stylesheet" href="#sheet" />` in explainer terminology perhaps confusingly doesn't refer to [@sheets](https://github.com/sheets) at all, but rules outside of [@sheets](https://github.com/sheets).

I can see how this is confusing - I will update this, thank you @robglidden!

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


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

Received on Wednesday, 12 February 2025 19:25:13 UTC