Closed Bug 1699317 Opened 4 years ago Closed 4 years ago

Minor refactor related to methods computing block frame's overflow areas

Categories

(Core :: Layout: Scrolling and Overflow, task)

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

References

Details

Attachments

(2 files)

This is a preparation for bug 1527949.

Also, swap the argument order of aBEndEdgeOfChildren and aDisplay,
because I'm going to make ConsiderBlockEndEdgeOfChildren() a
nsBlockFrame method, and make its arguments the same order.

This patch shouldn't change the behavior.

In Bug 1527949, we are going to add block-end padding of the block
container to aBEndEdgeOfChildren, so we need this patch in order to
query GetLogicalUsedPadding().

Depends on D108888

Pushed by aethanyc@gmail.com: https://hg.mozilla.org/integration/autoland/rev/b0e3c7735969 Part 1 - Pass ReflowOutput::mOverflowAreas into nsBlockFrame::ComputeOverflowAreas. r=emilio https://hg.mozilla.org/integration/autoland/rev/a330e1ee85db Part 2 - Make ConsiderBlockEndEdgeOfChildren() a nsBlockFrame method. r=emilio
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: