Engineer on @googlechrome. Involved in CSS and W3C standards. Previously @mozilla, @w3ctag. Mastodon: @dbaron@w3c.social

Rockville, Maryland, USA
Joined March 2008
Sure, it's a new platform primitive, and one whose exposure to JS would break run-to-completion semantics, but which can be exposed to CSS. Calling new platform primitives that you don't like "magic" doesn't seem helpful here.
2
1
That said, the layout ordering might actually be a little more interesting than that in that, with width-only containment, the style and layout of the subtree would need to run in the middle of the layout of its container.
1
Agreed. And this does have performance overhead. But that overhead should be lower than the cost of doing a complete style and complete layout and then changing it in response to changes made in JS.
1
1
If it's going to happen it needs somebody to drive it, though. It's on my list of "would like to do" projects, but probably not soon.
1
3
I think we could build container queries on top of CSS containment (need to separate layout-width & layout-height). That is, have container queries in stylesheets on elements with the right containment . Then able to container-query the width given contain:layout-width, etc.
6
1
16
L. David Baron @dbaron@w3c.social retweeted
77% of Californians say cities should allow developers to build new apartments near transit and jobs if they also include affordable housing for moderate- and low-income workers. cayimby.org/poll/ #SB50 #MoreHOMES
5
2
20
Replying to @SenToniAtkins
Please reconsider. SB 50 is critical to the growth & fairness of our economy and to reduce our effects on the environment and contribution to global warming. *Starting* to fix California's housing crisis can't wait another year. Building will take many years after law passes.
18
L. David Baron @dbaron@w3c.social retweeted
The Bay Area economy, illustrated. @alfred_twu #BadSideoftheBay
31
493
79
1,820
Replying to @hsivonen
For an unbounded number of combining marks? Something else?
1
Too little, too late, @GavinNewsom. Should have stepped up to prevent this from happening rather than saying you're disappointed afterwards.
Statement by Gov. @GavinNewsom on the demise of #SB50. He’s disappointed
3
The segregationists won. Californians earning less than $250k/year lost. Environmentalists lost. Unclear whether our current system of democracy is capable of addressing the problems facing the US and California.
Replying to @dillonliam
Holy shit. #SB50 appears to be held for the year.
1
4
A photo of an urban environment I like [16/N]: Stortorget, 111 29 Stockholm, Sweden
1
4
I don't get to vote in my own poll, but I got four, from @cayimby, @SFHAC, @SFyimby, and @paloaltoforward.
1
How many organizations sent you email alerts today to call California state senators in support of SB50?
60% 0
10% 1
30% 2-3
0% 4+
10 votes • Final results
1
L. David Baron @dbaron@w3c.social retweeted
"It's a long story" but SB 50 is IN TROUBLE. It could die TOMORROW. Call NOW: cayimby.org/call/
8
29
9
58
So animate between 0 or 0% and the other number?
1
Replying to @elpaavo
Your proposal that affordable housing goal be % of housing stock sounds great. I'm more skeptical of uniform housing growth target: * to prefer infill over sprawl for the environment * there's more demand (stronger economy) in some areas * want to reverse historic segregation
1
Replying to @elaineuang
There were a bunch of bills passed last year that made what I've heard described as major changes to the RHNA process. But I don't know what they add up to.