mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
When resolving grid track sizes, limited min/max-content contributions should be capped by fixed max track sizing functions, including the argument to fit-content(). We were instead falling back to the grid container maximum size, which allowed a grid item with overflowing contents in a fit-content(0) row to inflate the intrinsic block size of a nested grid. That bogus intrinsic height could then be used for the grid's second row sizing pass, causing unrelated flexible rows to absorb the extra space.