mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 07:17:32 +09:00
JS - make window.pageYOffset/pageXOffset/scrollX/scrollY double
This commit is contained in:
parent
e64a819dc3
commit
49ffafc979
16 changed files with 133 additions and 55 deletions
|
|
@ -16,8 +16,8 @@ function runTest() {
|
|||
iframe.addEventListener("mozbrowserscroll", function(e) {
|
||||
ok(true, "got mozbrowserscroll event.");
|
||||
ok(e.detail, "event.detail is not null.");
|
||||
ok(e.detail.top === 4000, "top position is correct.");
|
||||
ok(e.detail.left === 4000, "left position is correct.");
|
||||
ok(Math.round(e.detail.top) == 4000, "top position is correct.");
|
||||
ok(Math.round(e.detail.left) == 4000, "left position is correct.");
|
||||
SimpleTest.finish();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue