Re: [WICG/webcomponents] "open-stylable" Shadow Roots (#909)

@knowler When I say "I just see pull ..." I don't mean I am proposing pull over push, rather that "pull" is just the way declarative shadow DOM, now implemented in all major browsers, works. 

A component user can already "pull" in styles in many ways as they see fit, but not with coordination or at the @layer level.

Coordination is required for pretty much any solution, @layer, shadow-crossing selector, or whatever, in that if a component user doesn't know what they are styling in a shadow tree, they can't really knowledgeably style it in the first place.

As mentioned previously, one useful coordination tool would be the ability to bring in unlayered styles at a lower, rather than a higher, priority. I think this option makes particular sense for "inheriting" @layers into shadow trees.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/909#issuecomment-1977721748
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/909/1977721748@github.com>

Received on Tuesday, 5 March 2024 00:24:29 UTC