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

NEW
Unassigned

Status

()

3 years ago
2 years ago

People

(Reporter: mats, Unassigned)

Tracking

(Blocks: 1 bug, {perf})

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
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.