Mason Freed

Results 546 comments of Mason Freed

This sounds like a reasonable proposal to me! It will definitely fix the potential footgun of moving nodes to a template and back. Does the solution here avoid the multi-document...

We're very supportive of moving this to CSSWG, but candidly I'm really hoping @emilio is up for doing the work?

https://github.com/w3c/csswg-drafts/issues/3433#issuecomment-837398993

https://github.com/w3c/csswg-drafts/pull/6304

> > * RESOLVED: @import doesn't parse in constructable stylesheets and as a result throw syntax errors > > This resolution text is confusing. What we actually resolved is to...

> I recall at some point we talked about having a mechanism to pass in a shadow root to some kind of accessor method, but I've forgotten the context. You...

> This is a bit tangential but that API can't possibly just take closed shadow roots. It needs to take both modes of shadow roots since it would violate the...

We’re not deprecating replace() entirely, just the case where the replacement sheet contains an @import rule. Calls to replace() without @import will continue working as is.

I just wanted to add support to this issue. It would seem to be most-useful to ignore `@import` rules (with a warning) but keep parsing the remaining rules. This is...

> If I wrote a PR to update this spec to match the current Chromium implementation, would it be accepted? Or was the plan to wait until CSS modules had...