I get why it can seem like old-guard trying to gatekeep. I'm no fan of CSS (in general) and grok how this can help. Just saying help vs. hurt is currently -- at a minimum -- a contended question.
-
-
Replying to @slightlylate @davidbrunelle
As a browser person, I bet you have some pretty wild reasons for not being a fan of CSS!
1 reply 0 retweets 2 likes -
Replying to @brad_frost @davidbrunelle
No man, I just hate global variables ;-) But seriously, Shadow DOM is the answer to CSS in the same way that "structured programming" is the answer to assembly.
4 replies 0 retweets 7 likes -
Can you expound a little, my friend? I struggle with this...
1 reply 0 retweets 1 like -
CSS w/o Shadow DOM puts all rules and all elements into the same namespace for rule resolution. This creates all sorts of problems; specificity breaks down at scale.
1 reply 0 retweets 5 likes -
Replying to @slightlylate @stefsull and
Shadow DOM is like a function: local stuff is local, which reduces burden on global namespace while making internal concerns easier to reason about.
1 reply 0 retweets 5 likes -
Yes, that I understand. It was your Assembly reference. ;) Regardless, I've helped architect a CSS framework for an Enterprise company using principles that have avoided the things that scare y'all about CSS.
1 reply 0 retweets 4 likes -
Replying to @stefsull @slightlylate and
But Shadow DOM works opposite of how a well-architected framework works. And it's not compatible in many ways.
2 replies 0 retweets 3 likes -
Replying to @stefsull @slightlylate and
https://github.com/WICG/construct-stylesheets …
@tabatkins was just telling me about this new spec in the works that, at a high level, seems to address a number of issues I've had with web components and the way they handle css.1 reply 0 retweets 3 likes -
Replying to @chriseppstein @stefsull and
It creates a mechanism through which several components can share a single stylesheet. (I'm sure it does other things too, I haven't had time to fully dive into it yet.)
1 reply 0 retweets 0 likes
We already share stylesheets behind the scenes.
-
-
Replying to @slightlylate @chriseppstein and
Yeah, but it's implicit and magic, and easy to fall off of (if you edit anything about the sheets).
1 reply 0 retweets 2 likes -
Replying to @tabatkins @chriseppstein and
Also, did we fix import rules yet?
0 replies 0 retweets 0 likes
End of conversation
New conversation -
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.