Closed Bug 1191961 Opened 9 years ago Closed 9 years ago

With APZ enabled some reftests fail due to scrollframe activation in the test page but not the reference page

Categories

(Core :: Panning and Zooming, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla43
Tracking Status
firefox43 --- fixed

People

(Reporter: kats, Assigned: kats)

References

Details

Attachments

(1 file)

With APZ enabled, some of the Linux R-e10s tests fail because the test page activates a scrollframe but the reference page does not. This results in a layerization difference that causes a few pixel differences. We can force layerization in the pages using "will-change: scroll-position" to make sure both test and reference pages end up with the same layerization.
Attached patch PatchSplinter Review
Attachment #8644554 - Flags: review?(kgilbert)
Comment on attachment 8644554 [details] [diff] [review]
Patch

Review of attachment 8644554 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good
Attachment #8644554 - Flags: review?(kgilbert) → review+
Thanks. tn, are you ok with this or would you prefer fuzzing it?
Flags: needinfo?(tnikkel)
I'm fine with this.
Flags: needinfo?(tnikkel)
Do we know why a layerization difference causes rendering differences? It that something worth addressing?
If there's a layerization difference the final pixels are produced by a different codepath - in one case layout rasterizes it all together and in the other case the compositor backend is what combines the pixels. Assuming that the pixel differences are only off by small amounts and in areas where layers are being combined due to alpha I (which has been the case so far) I think it's probably not worth worrying about.
https://hg.mozilla.org/mozilla-central/rev/24f1bbabe995
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: