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

Mozilla appears to be way behind on this stuff. You can't even achieve CSS Modules the [manual way](https://github.com/w3c/webcomponents/issues/759#issuecomment-511330919) which already works in Chromium.

If I open up a console in Firefox 68.0.2, and type:
`let sheet = new CSSStyleSheet();`

I get this error:
`TypeError: Illegal constructor.`

You can achieve some efficiency in Firefox using `<link rel="stylesheet">`, but that's inferior to a [javascript variable](https://github.com/mozilla/standards-positions/issues/103#issuecomment-517957359) in both [performance and portability](https://bugzilla.mozilla.org/show_bug.cgi?id=1520690#c6).

If you have persuasive points that might expedite Firefox's progress on this, please post them at the bug report [here](https://bugzilla.mozilla.org/show_bug.cgi?id=1520690).
 

-- 
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-523193018

Received on Tuesday, 20 August 2019 21:01:59 UTC