Open Bug 1650039 Opened 6 years ago Updated 2 years ago

Specifying reftest-resolution < 1.0 seems not to work (with iframes?) on WebRender

Categories

(Core :: Panning and Zooming, defect, P3)

defect

Tracking

()

People

(Reporter: hiro, Unassigned)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch reftest-resolution-2 (obsolete) — — Splinter Review

I am totally unsure about the relationship between this and bug 1647177. But in this bug's test case, it works fine on non WebRender.

Attaching file is containing a reftest having a iframe larger than the reftest window size, but it's not scaled down properly as far as I can tell. Maybe I am mistaking something, but if so I have totally no idea why the test passes on non WebRender.

Attachment #9160873 - Attachment mime type: application/octet-stream → text/plain
Attachment #9160873 - Attachment is patch: true

Might be related to bug 1650081. allow_zooming=true and overflow:hidden don't play well together. Can you try replacing the overflow:hidden with scrollbar-width:none to see if that fixes it?

(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #1)

Might be related to bug 1650081. allow_zooming=true and overflow:hidden don't play well together. Can you try replacing the overflow:hidden with scrollbar-width:none to see if that fixes it?

It does change nothing unfortunately.

From bug 1650081 comment 0
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #0)

However, using scrollbar-width:none is the new and better way to do this. In particular, using overflow:hidden in combination with the reftest-async-scroll-[x|y] attributes makes the test exercise a codepath in APZ that is never used in production, where an APZ with non-scrollable metrics gets async scrolled.

TIL. Thanks for the info.

Attachment #9160873 - Attachment is obsolete: true

It looks like the test case occasionally passes. I added a similar reftest (marked as fails-if(webrender)) in bug 1647186, and it sometimes passed on autoland, to be precise it seems to often pass. (Thus the change was backed out).

The severity field is not set for this bug.
:botond, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(botond)
Severity: -- → S3
Flags: needinfo?(botond)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: