Closed Bug 1194446 Opened 10 years ago Closed 3 months ago

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

Categories

(Core :: Layout: Grid, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1591366

People

(Reporter: MatsPalmgren_bugz, 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.
Severity: normal → S3
Component: Layout → Layout: Grid

We've introduced CachedBAxisMeasurement in bug 1591366.

Status: NEW → RESOLVED
Closed: 3 months ago
Duplicate of bug: 1591366
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.