Closed Bug 1978929 Opened 2 months ago Closed 2 months ago

Remove nsLayoutUtils::MIN_INTRINSIC_ISIZE

Categories

(Core :: Layout: Grid, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: alaskanemily, Assigned: alaskanemily)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Now that there are size overrides as an option for nsLayoutUtils::IntrinsicForAxis, we can remove this flag. It's currently only used for grid layout, and should just be a specific case where we override the style size with the style min size.
This should make it easier both to understand the content contribution code in Grid, and to simplify a little bit of the logic in nsLayoutUtils::IntrinsicForAxis and make the grid situation not be a special case requiring distinct reasoning and testing.

Blocks: 1951821
Pushed by emcdonough@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/614e0c5d445a https://hg.mozilla.org/integration/autoland/rev/8ba50b225594 Remove MIN_INTRINSIC_ISIZE, and replace its usage with StyleSizeOverrides. r=layout-reviewers,TYLin
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
QA Whiteboard: [qa-triage-done-c144/b143]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: