mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 929750 - fix (literal) edge case in overflow scroll test, r=jaws
--HG-- extra : rebase_source : ab749cade090d47eb772454ed0138fd27c4db72e
This commit is contained in:
parent
e5ab9bd6d8
commit
b3e611f65d
@ -62,7 +62,11 @@ function runOverflowTests(aEvent) {
|
||||
EventUtils.synthesizeMouse(upButton, 1, 1, {});
|
||||
isLeft(element, "Scrolled one tab to the left with a single click");
|
||||
|
||||
element = elementFromPoint(left(scrollbox) - width(scrollbox));
|
||||
let elementPoint = left(scrollbox) - width(scrollbox);
|
||||
element = elementFromPoint(elementPoint);
|
||||
if (elementPoint == right(element)) {
|
||||
element = element.nextSibling;
|
||||
}
|
||||
EventUtils.synthesizeMouse(upButton, 1, 1, {clickCount: 2});
|
||||
isLeft(element, "Scrolled one page of tabs with a double click");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user