Closed Bug 1947356 Opened 1 month ago Closed 1 month ago

Minor clean up in nsGridContainerFrame::Reflow()

Categories

(Core :: Layout: Grid, task)

task

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

Details

Attachments

(2 files)

See the patches for details.

Specifically, computedSize and containSize are both used only once. I don't
feel we should bother creating them.

Also, improve the comment since other non-auto values of block-size could also
resolve to unconstrained block size.

Assignee: nobody → aethanyc
Status: NEW → ASSIGNED
Pushed by aethanyc@gmail.com: https://hg.mozilla.org/integration/autoland/rev/786c6d3e4be4 Part 1 - Remove two local variables that are used only once in nsGridContainerFrame::Reflow(). r=tlouw https://hg.mozilla.org/integration/autoland/rev/c8807bf30858 Part 2 - Rewrite trackSizingBSize initialization to improve readability. r=layout-grid-reviewers,tlouw
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: