Open Bug 1299574 Opened 8 years ago Updated 2 years ago

Scrolling on Android is not pixel-precise

Categories

(Core :: Layout, defect, P3)

Unspecified
Android
defect

Tracking

()

People

(Reporter: ayg, Unassigned)

References

Details

In bug 1271119, I ported editor/libeditor/tests/test_selection_move_commands.html from a chrome mochitest to a plain mochitest. That happened to enable the test on Android, and it almost passes, but with deviations of 0.1-0.2 pixels in expected values after scrolling: https://treeherder.mozilla.org/logviewer.html#?job_id=26674951&repo=try#L2277 INFO TEST-UNEXPECTED-FAIL | editor/libeditor/tests/test_selection_move_commands.html | cmd_scrollBottom - got -300.1166687011719, expected -300 SimpleTest.is@SimpleTest/SimpleTest.js:268:5 testScrollCommand@editor/libeditor/tests/test_selection_move_commands.html:60:5 execTests@editor/libeditor/tests/test_selection_move_commands.html:122:3 execNext@editor/libeditor/tests/test_selection_move_commands.html:24:5 ... INFO TEST-UNEXPECTED-FAIL | editor/libeditor/tests/test_selection_move_commands.html | cmd_scrollPageUp - got -210.71665954589844, expected -210.56666564941406 SimpleTest.is@SimpleTest/SimpleTest.js:268:5 testScrollCommand@editor/libeditor/tests/test_selection_move_commands.html:60:5 execTests@editor/libeditor/tests/test_selection_move_commands.html:135:3 execNext@editor/libeditor/tests/test_selection_move_commands.html:24:5 ... TEST-UNEXPECTED-FAIL | editor/libeditor/tests/test_selection_move_commands.html | cmd_scrollLineUp - got -235.23333740234375, expected -235.0500030517578 SimpleTest.is@SimpleTest/SimpleTest.js:268:5 testScrollCommand@editor/libeditor/tests/test_selection_move_commands.html:60:5 execTests@editor/libeditor/tests/test_selection_move_commands.html:145:3 execNext@editor/libeditor/tests/test_selection_move_commands.html:24:5
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.