mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 17:50:38 +00:00
A fill child of a grid takes the size of its content, which the grid's fill then fits to its cell. An absolute child is not filled by the grid, and the content of a grid whose flex columns span its width is that width and its padding, so an absolute fill board of a grid grew by its padding at every layout pass and never settled. An absolute child keeps its size. Benchmark (bench-components, run alone): | world | baseline | now | mean | ratio | |------------------------------------+----------+---------+---------+-------| | deepest-edit-through-three-levels | 35.215 | 23.593 | 26.323 | 0.67 | | edit-through-a-chain-of-dependents | 68.931 | 50.077 | 55.477 | 0.73 | | library-update-into-copies | 83.083 | 50.157 | 52.815 | 0.6 | | main-edit-among-many-shapes | 4.837 | 2.511 | 3.077 | 0.52 | | main-edit-into-10-copies | 1.79 | 1.172 | 1.215 | 0.65 | | main-edit-into-100-copies | 15.415 | 9.878 | 12.423 | 0.64 | | main-edit-into-1000-copies | 153.086 | 123.768 | 175.446 | 0.81 | | variant-switch-into-copies | 32.052 | 21.933 | 22.474 | 0.68 | AI-assisted-by: claude-opus-5-5