Don't elements in Shadow DOM inherit styles from the parent document? So for many: still no good.
-
-
-
Nope. Try it!
- 11 more replies
New conversation -
-
-
Maybe I'm missing something but it seems to be hard to optimize across components?
-
Duplication is nearly free; separate style resolver, etc. Shadow DOM frequently a perf *win*
- 4 more replies
New conversation -
-
-
I realized it a while back, the big problem is that it's not widely supported enough yet :(
-
I can concur, I would love to use this API but supporting browsers like IE11 basically force hand.
- 16 more replies
New conversation -
-
-
Here's a different approach: using custom properties as your CSS module's API. https://sgom.es/posts/2017-02-17-css-custom-properties-as-your-api/ …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I'm ready to be freaked out, can you point me to an example or article?
-
https://developers.google.com/web/fundamentals/getting-started/primers/shadowdom … is a great start. Also, MDN
- 1 more reply
New conversation -
-
-
They are thoroughly hypnotized into thinking inline styles using JS is the way to go. It will take heavy smelling salts to wake them up.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.