Been thinking about adopting constructible style sheets into your document fragments? No? well, I have, and know you can too! https://dev.to/westbrook/why-would-anyone-use-constructible-stylesheets-anyways-19ng … #WebComponents #ShadowDOM #css #CSSModules
I would like that innerHTML or something similar serialize them for me. Thus they would be intact. Today, I retrieve them via CSSOM which removes for example vendor prefixed keywords.
-
-
The Constructible Style sheet spec is still in development. If you really think that would be a good addition to the feature, you should get your voice in the conversation here: https://github.com/WICG/construct-stylesheets/issues/ … The more points of view included in the conversation the better!
-
Thanks for the info! I'll try to contribute in a constructive way, even if I think my problem is perhaps more fundamental: stylesheets cannot be read intact with CSSOM.
End of conversation
New conversation -
-
-
(I'm talking about adopted stylesheets)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.