Make test_bug422132.html work with bug 1674687
Categories
(Core :: DOM: Events, task)
Tracking
()
| 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.
| Assignee | ||
Comment 1•6 months ago
|
||
With that we can avoid a bunch of floating point calculation errors
in the scaled down content.
Updated•6 months ago
|
Comment 3•6 months ago
|
||
| bugherder | ||
Updated•6 months ago
|
Description
•