mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 528792 - test frippery
This commit is contained in:
parent
4a9efbdb4a
commit
2044fa1490
@ -78,7 +78,6 @@ function nextTest()
|
||||
}
|
||||
else {
|
||||
screenTest = true;
|
||||
setScale(window, 2);
|
||||
var box = document.documentElement.boxObject;
|
||||
|
||||
// - the iframe is at 4×, but out here css pixels are only 2× device pixels
|
||||
@ -86,6 +85,7 @@ function nextTest()
|
||||
// integers, so ensure we pass in even numbers to openPopupAtScreen
|
||||
screenx = (x = even(box.screenX + 120))/2;
|
||||
screeny = (y = even(box.screenY + 120))/2;
|
||||
setScale(window, 2);
|
||||
$("popup").openPopupAtScreen(x, y);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user