Jason Miller
Jason Miller
I believe the only way to support this would be to install a setter on HTMLElement.adoptedStyleSheets that schedules scanning + replacement on those sheets. I don't know if this can...
Hmm - I do see that the perlin noise based button style is crashing. I'm guessing this is a result of one of the CSS variables being somehow converted to...
Just catching up on this - I'm definitely fond of explicit methods. Here's my pitch: ```js interface DocumentOrShadowRoot { void adoptStyleSheet(CSSStyleSheet sheet) void removeStyleSheet(CSSStyleSheet sheet) } ```
Perhaps the FrozenArray used here could be extended to allow indirect modifications like [CSSRuleList](https://developer.mozilla.org/en-US/docs/Web/API/CSSRuleList) (`document.adoptedStyleSheets.insertSheet(sheet, 0)`) or NodeList? I'll admit it seems odd to add a whole new API for...
Indeed - I've been moving things over to "Constructible", since that is the US English spelling and generally specs go that route.
I've reverted the update post and demo to use "Constructable"
That could be useful, and actually the block processor seems to be already set up to handle this. Worth looking into.
@ollicle what about code blocks and quotes?
currently they are transformed to line breaks.
@bogas04 impossible to break up the regex due to filesize constraints, but perhaps having a commented out multiline version above would work.