alonso.torres 6bdb5565d8 🐛 Size a WASM grid track by a fill grid child's content
With the WASM engine, a grid track sized a fill child by its minimum
width alone, so a fill child that is itself a grid shrank to its cell
and its content overflowed it. The CLJS engine sizes the track by the
larger of that minimum and the size the child's content needs, as CSS
gives a grid item its min-content size (user decision: match CLJS).

`min_size` now takes, for a fill grid child, its content size: its
tracks at the sizes its children need, its gaps and its paddings, as a
grid that hugs sizes itself.

Found by the WASM replay of the pinned generated programs (program 290,
a fill grid turned 45 degrees in a grid), which passes with it.

Test: render-wasm `test_a_fill_grid_child_takes_the_size_its_content_needs`.

WASM only; the benchmark covers JVM code and is not run.

AI-assisted-by: claude-opus-5-5
2026-11-18 10:29:50 +01:00
..
2026-06-02 09:38:52 +02:00
2026-11-09 16:23:47 +01:00
2026-11-09 16:23:47 +01:00
2026-06-29 10:34:44 +02:00
2026-06-02 09:38:52 +02:00
2026-11-09 16:23:47 +01:00
2026-06-02 09:38:52 +02:00
2026-07-03 08:37:22 +02:00