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

Two arguments I keep seeing pop up in this thread:

1. This feature is desperately needed.
2. This feature is not polyfillable.

The second statement is mostly false, as demonstrated by @Danny-Engelman's examples as well as [the proof-of-concept I published to npm](https://www.npmjs.com/package/open-stylable). (I say "mostly" because descendant selectors and `:has()` can't traverse shadow boundaries. Although it's not even clear that a real browser implementation would solve that, [based on Ryosuke's comment above](https://github.com/WICG/webcomponents/issues/909#issuecomment-742851382)).

I'll also note that my polyfill currently has ~1 weekly download, and I don't see any other polyfills on npm. If web developers were clamoring for this feature, you'd think that there would be a lot more interest in polyfills. This makes me question both of the above arguments.

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

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

Received on Saturday, 11 November 2023 16:03:43 UTC