Index: core/frame/Window.idl |
diff --git a/core/frame/Window.idl b/core/frame/Window.idl |
index ce7aa0e21b35339bf025905b458b58a3ead70bf2..4ef969a5797c7302bfde3b4c10526ab279a1f3be 100644 |
--- a/core/frame/Window.idl |
+++ b/core/frame/Window.idl |
@@ -98,12 +98,12 @@ |
// Overloading can be replaced by optional if RuntimeEnabled is removed, by |
// changing the third argument to *optional* Dictionary scrollOptions |
- void scrollBy(long x, long y); |
- [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] void scrollBy(long x, long y, Dictionary scrollOptions); |
- void scrollTo(long x, long y); |
- [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] void scrollTo(long x, long y, Dictionary scrollOptions); |
- void scroll(long x, long y); |
- [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] void scroll(long x, long y, Dictionary scrollOptions); |
+ void scrollBy(double x, double y); |
+ [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] void scrollBy(double x, double y, ScrollOptions scrollOptions); |
+ void scrollTo(double x, double y); |
+ [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] void scrollTo(double x, double y, ScrollOptions scrollOptions); |
+ void scroll(double x, double y); |
+ [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] void scroll(double x, double y, ScrollOptions scrollOptions); |
void moveBy([Default=Undefined] optional float x, [Default=Undefined] optional float y); // FIXME: this should take longs not floats. |
void moveTo([Default=Undefined] optional float x, [Default=Undefined] optional float y); // FIXME: this should take longs not floats. |
void resizeBy([Default=Undefined] optional float x, [Default=Undefined] optional float y); // FIXME: this should take longs not floats. |