Re: [csswg-drafts] Multiple stylesheets per file (#5629)

> > Furthermore, could named sheets be exposed as URL fragments then, e.g. ?
> 
> Hm, this could be interesting actually. @justinfagnani, how do you feel about that? On the JS side it would still be multiple import statements, but only one request (assuming caching semantics allow reuse of the resource).

This sounds really smart to me. It could work as `<link rel=stylesheet href="style.css#sheet">`'s inside shadow roots too.

Features that broaden the scope to as many style loading techniques and frameworks as possible sound great to me.

`@import` (or something similar) between bundled `@sheet` would be great too, though that may require settling on a semantic for `@import` in CSS module scripts.

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


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

Received on Friday, 27 January 2023 20:49:49 UTC