Re: [w3c/webcomponents] CSS Modules (#759)

> As in throw when there is `@import`? Silently ignoring `@import` is probably not going to be forward compatible as `@import` start working in the future could cause problems.

Yes, throwing like [CSSStyleSheet.replaceSync](https://wicg.github.io/construct-stylesheets/#dom-cssstylesheet-replacesync):
> 5. If rules contains one or more `@import` rules, throw a `"NotAllowedError"` `DOMException`.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/759#issuecomment-495808386

Received on Friday, 24 May 2019 22:53:59 UTC