зеркало из https://github.com/mozilla/pjs.git
bug 528792 - test frippery
This commit is contained in:
Родитель
f8784c1741
Коммит
c50c97c5bf
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче