2 ms·
> One issue I have with this is that I won’t be able to apply a userstyle to restyle a page anymore With the caveat that I only sorta understand this stuff --
by aaronharnly 11y ago
> One issue I have with this is that I won’t be able to apply a userstyle to restyle a page anymore
With the caveat that I only sorta understand this stuff -- if it emerges this way after the politics & process, you should be able to use the 'deep combinator' >>> to apply styles even across shadow DOM boundaries.
https://drafts.csswg.org/css-scoping-1/#deep-combinator https://drafts.csswg.org/css-scoping-1/#deep-combinator
- kuschku 11y ago> It’s currently disputed whether this combinator should exist. Also, it breaks about every existing userstyle, ever. And there should be a more general solution that also handles the shadow DOM of browser-internal elements like the <input type="file">
- colordrops 11y agoI think the deep combinator is already deprecated in Chrome and unlikely to make it into the spec.