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.
-
-
I think CSS is fine, but I've worked with it for about 15 years. I understand it & I appreciate how it works. Most of these tools feel like they're just made for people that don't want to understand CSS & they try to make it more like JS. But I realize I'm probably a minority.
-
I have a hard time arguing folks are wrong when they want to localize the effects of their decisions. Basically every programming abstraction is this because it makes complexity approachable.
- 8 more replies
New conversation -
-
-
Specificity and document order is a heuristic for resolution. It is meaningful and accurate at small scales, but nonsensical at scale. That’s why CSS Blocks introduces an explicit, per property resolution primitive. https://github.com/linkedin/css-blocks/blob/master/README.md#block-resolutions …
-
Yeah, I'm seeing many systems disable the heuristics by enforcing zero descendant selector constraints. Needs platform support.
- 1 more reply
New conversation -
-
-
@ojanvafai and I have discussed a feature policy to disable descendant selectors. It'd enable some pretty big perf wins, but more importantly, it might make CSS livable again (particularly in combination with SD) - 2 more replies
New conversation -
-
-
I think it's okay, but can be better. I think we need CSS and HTML modules. WC specs already do a big chunk of what I mean by that. But still rely almost entirely on JS & build to get the full impact. We're gonna have to work through it step by step.
-
I'm a little out of the loop on how styling for Shadow DOM is evolving rn, but there's some neat stuff you can accomplish with CSS Modules and WCs. Sadly, it relies on duplicating the styles atm.
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.
state, reduce the "bleed through" that makes managing styles so painful.
Good progress being made on part/theme: