Re: [w3ctag/design-reviews] Declarative CSS Modules and Declarative Shadow DOM `adoptedstylesheets` attribute (Issue #1000)

> Btw it's incorrect to say that
> 
> > Inline `<style>` blocks do not support `@import` rules
> 
> @LeaVerou has personally used inline `<style>` with `@import` rules regularly, even in shadow roots (see https://elements.colorjs.io/src/color-picker/). Are you talking about a more specific case they don't work with? E.g. constructible or adopted stylesheets?

The example in the explainer refers to the CSS @import rule, while I think you are referring to JS import? @jyasskin 


-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/1000#issuecomment-2450741163
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/1000/2450741163@github.com>

Received on Thursday, 31 October 2024 20:18:53 UTC