Open Bug 1194446 Opened 5 years ago Updated 4 years ago

[css-grid] Cache min-/max-content contributions for grid items to avoid reflows

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

People

(Reporter: mats, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: perf)

Tracks with a combination of intrinsic and flex sizing may reflow
an item twice.  Also, GetPref/MinISize (bug 1174574) also runs
track sizing separately from Reflow.  Grid Sizing (bug 1174569)
may also run track sizing twice.  We should probably cache these
on mGridItems to avoid unnecessary reflows.
You need to log in before you can comment on or make changes to this bug.