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.
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.
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.
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.
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
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.
Even the leading traffic safety groups are not willing to warn the public about the inherent dangers of SUVs to pedestrians. usa.streetsblog.org/2019/05/…
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.
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
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.