mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix bug 875180-related test failures by fixing the test, rs=jaws over IRC
This commit is contained in:
parent
fcd17ba7f0
commit
8c3ff46490
@ -7,8 +7,8 @@ function rect(ele) ele.getBoundingClientRect();
|
||||
function width(ele) rect(ele).width;
|
||||
function left(ele) rect(ele).left;
|
||||
function right(ele) rect(ele).right;
|
||||
function isLeft(ele, msg) is(left(ele), left(scrollbox), msg);
|
||||
function isRight(ele, msg) is(right(ele), right(scrollbox), msg);
|
||||
function isLeft(ele, msg) is(left(ele) + tabstrip._tabMarginLeft, left(scrollbox), msg);
|
||||
function isRight(ele, msg) is(right(ele) - tabstrip._tabMarginRight, right(scrollbox), msg);
|
||||
function elementFromPoint(x) tabstrip._elementFromPoint(x);
|
||||
function nextLeftElement() elementFromPoint(left(scrollbox) - 1);
|
||||
function nextRightElement() elementFromPoint(right(scrollbox) + 1);
|
||||
|
Loading…
Reference in New Issue
Block a user