Closed Bug 1786214 Opened 3 years ago Closed 3 years ago

Remove UseAutoBSize flag.

Categories

(Core :: Layout: Grid, task)

task

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

No description provided.

Use a more precise, grid-specific flag to avoid applying grid stretching
etc, and pass an unconstrained block size instead for baseline alignment
measuring, which will cause us to interpret relative sizes as auto.

This shouldn't cause any behavior change, but is a prerequisite
necessary for bug 1609403 (where we don't always want definite sizes
being ignored in measuring reflows for baseline alignment). It's also a
bit clearer, IMO.

I've attempted to remove UseAutoBSize flag with StyleSizeOverride like [1] in flex container's measuring reflow, but I got some grid test failures that I didn't figure out. It's nice to see the flag being rename to a grid specific one.

[1] https://searchfox.org/mozilla-central/rev/14fd7ed50b087ca4d46d33e0f818360c32294afa/layout/generic/nsFlexContainerFrame.cpp#2095,2105

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: