alonso.torres a95f26b601 🐛 Let a grid's fill alone size a child turned in the grid
A fill child of a grid takes the size of its content along its own axes,
and the grid's fill then scales its box to the cell along the grid's
axes. For a child turned in the grid the two disagree: each scale along
the grid's axes skews the turned child and leaves it narrower than its
content, and the next reflow widens it again. A grid board that fills
its cell and is turned 45 degrees grew and skewed on every reflow, and
its layout never settled.

A fill child turned in its grid no longer takes its content's size; the
grid's fill alone sizes it along the grid's axes.

Benchmark (scripts/bench-components, ms, lower 2.5% quantile):

| world                              | baseline |     now | ratio |
|------------------------------------+----------+---------+-------|
| deepest-edit-through-three-levels  |   35.215 |  20.311 |  0.58 |
| edit-through-a-chain-of-dependents |   68.931 |  39.017 |  0.57 |
| library-update-into-copies         |   83.083 |   47.52 |  0.57 |
| main-edit-among-many-shapes        |    4.837 |   2.313 |  0.48 |
| main-edit-into-10-copies           |     1.79 |   1.039 |  0.58 |
| main-edit-into-100-copies          |   15.415 |  10.063 |  0.65 |
| main-edit-into-1000-copies         |  153.086 |  94.681 |  0.62 |
| variant-switch-into-copies         |   32.052 |  22.649 |  0.71 |

AI-assisted-by: claude-opus-5-5
2026-11-18 10:29:46 +01:00
..
2026-11-10 20:21:16 +01:00
2026-09-29 09:07:34 +02:00
2026-03-11 15:24:40 +01:00