Closed Bug 1691879 Opened 3 years ago Closed 3 years ago

fix expiry with minimal display ports

Categories

(Core :: Panning and Zooming, defect)

defect

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox85 --- unaffected
firefox86 --- unaffected
firefox87 --- fixed

People

(Reporter: tnikkel, Assigned: tnikkel)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

In RemoveDisplayPortCallback

https://searchfox.org/mozilla-central/rev/7067bbd8194f4346ec59d77c33cd88f06763e090/layout/generic/nsGfxScrollFrame.cpp#2588

we don't remove a regular display port and instill a minimal display port if mIsScrollParent is true on the scroll frame. mIsScrollParent gets set to true if any child scroll frame has a display port of any time (minimal or otherwise).

We want to expire a regular display port and replace it with a minimal display port if it only contains minimal display ports (or no display ports).

This was caught while I was updating gfx/layers/apz/test/mochitest/test_layerization.html for the new activate all scroll frames code (bug 1691878).

In RemoveDisplayPortCallback

https://searchfox.org/mozilla-central/rev/7067bbd8194f4346ec59d77c33cd88f06763e090/layout/generic/nsGfxScrollFrame.cpp#2588

we don't remove a regular display port and instill a minimal display port if mIsScrollParent is true on the scroll frame. mIsScrollParent gets set to true if any child scroll frame has a display port of any time (minimal or otherwise).

We want to expire a regular display port and replace it with a minimal display port if it only contains minimal display ports (or no display ports).

This was caught while I was updating gfx/layers/apz/test/mochitest/test_layerization.html for the new activate all scroll frames code (bug 1691878).

Set release status flags based on info from the regressing bug 1690433

Pushed by tnikkel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8a0b3e09ce14
Fix expiry with minimal display ports. r=botond
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: