summaryrefslogtreecommitdiff
path: root/dom/webidl/Window.webidl
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2017-08-10 18:01:49 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-02-21 19:52:35 +0100
commit88b5da7dd85d3e9859189824bea76c887eafab79 (patch)
treeb4f563927fa6f72db494b9a7ae2b846781b2da35 /dom/webidl/Window.webidl
parent33ebe8d4ce87d38b3121a98fbaf714aa78550508 (diff)
downloaduxp-88b5da7dd85d3e9859189824bea76c887eafab79.tar.gz
JS - make window.pageYOffset/pageXOffset/scrollX/scrollY double
Diffstat (limited to 'dom/webidl/Window.webidl')
-rw-r--r--dom/webidl/Window.webidl12
1 files changed, 4 insertions, 8 deletions
diff --git a/dom/webidl/Window.webidl b/dom/webidl/Window.webidl
index 055a274cc1..36b1f0313b 100644
--- a/dom/webidl/Window.webidl
+++ b/dom/webidl/Window.webidl
@@ -182,14 +182,10 @@ partial interface Window {
[ChromeOnly] void mozScrollSnap();
// The four properties below are double per spec at the moment, but whether
// that will continue is unclear.
- //[Replaceable, Throws] readonly attribute double scrollX;
- //[Replaceable, Throws] readonly attribute double pageXOffset;
- //[Replaceable, Throws] readonly attribute double scrollY;
- //[Replaceable, Throws] readonly attribute double pageYOffset;
- [Replaceable, Throws] readonly attribute long scrollX;
- [Replaceable, Throws] readonly attribute long pageXOffset;
- [Replaceable, Throws] readonly attribute long scrollY;
- [Replaceable, Throws] readonly attribute long pageYOffset;
+ [Replaceable, Throws] readonly attribute double scrollX;
+ [Throws] readonly attribute double pageXOffset;
+ [Replaceable, Throws] readonly attribute double scrollY;
+ [Throws] readonly attribute double pageYOffset;
// client
// These are writable because we allow chrome to write them. And they need