Closed Bug 1373378 Opened 7 years ago Closed 7 years ago

Make layout/reftests/async-scrolling/position-fixed-iframe-2.html pass on linux64-qr with APZ enabled

Categories

(Core :: Graphics: WebRender, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: kats, Assigned: kats)

References

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

With WR+APZ enabled, the layout/reftests/async-scrolling/position-fixed-iframe-2.html reftest fails. This bug is for the patches that make it pass, without regressing any "earlier" tests.
Problem here seems to be that the fixed-pos div inside the iframe gets fixed to the root scrollframe of the root content document, instead of the iframe's root scrollframe.
The reason this happens is that the scrolling container that the fixed item is fixed to is no longer on the stack when we encounter the fixed item. It has already been popped off by that point. We can improve wr::DisplayListBuilder::ParentScrollIdFor to fix this.
Comment on attachment 8878641 [details]
Bug 1373378 - Do a better job tracking the ancestor scrollids in DisplayListBuilder.

https://reviewboard.mozilla.org/r/149936/#review155268
Attachment #8878641 - Flags: review?(jmuizelaar) → review+
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0dbc79e5d74d
Do a better job tracking the ancestor scrollids in DisplayListBuilder. r=jrmuizel
https://hg.mozilla.org/mozilla-central/rev/0dbc79e5d74d
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: