Closed Bug 1967357 Opened 6 months ago Closed 6 months ago

Make test_bug422132.html work with bug 1674687

Categories

(Core :: DOM: Events, task)

task

Tracking

()

RESOLVED FIXED
140 Branch
Tracking Status
firefox140 --- fixed

People

(Reporter: hiro, Assigned: hiro)

References

Details

Attachments

(1 file)

(test_bug422132.html)[https://searchfox.org/mozilla-central/rev/458685fb519df4bf07920e39d477d73e09a87ace/dom/events/test/test_bug422132.html] uses sendWheelAndPaint with test.events.async.enabled=true. The delta used for sendWheelAndPaint is 0.5.

There are a couple of annoying points when the test runs on Android

i) The mochitest runs inside an iframe, the top level document doesn't have meta viewport tag, thus the test gets scaled by less 1.0 value
ii) With the scale, there are floating point calculation errors in conversions between app units and CSS units, you can easily see one of the errors by running CSSPointFromAppUnits(CSSPoint::ToAppUnits(CSSPoint(1.625, 1.625)))

So I'd propose opening the test document in a new tab to avoid them.

With that we can avoid a bunch of floating point calculation errors
in the scaled down content.

Assignee: nobody → hikezoe.birchill
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
QA Whiteboard: [qa-triage-done-c141/b140]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: