diff options
Diffstat (limited to 'components/script/dom/webidls/Element.webidl')
-rw-r--r-- | components/script/dom/webidls/Element.webidl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/components/script/dom/webidls/Element.webidl b/components/script/dom/webidls/Element.webidl index b161a782a55..19cb67e8cb9 100644 --- a/components/script/dom/webidls/Element.webidl +++ b/components/script/dom/webidls/Element.webidl @@ -81,6 +81,13 @@ partial interface Element { DOMRectList getClientRects(); DOMRect getBoundingClientRect(); + void scroll(optional ScrollToOptions options); + void scroll(unrestricted double x, unrestricted double y); + + void scrollTo(optional ScrollToOptions options); + void scrollTo(unrestricted double x, unrestricted double y); + void scrollBy(optional ScrollToOptions options); + void scrollBy(unrestricted double x, unrestricted double y); attribute unrestricted double scrollTop; attribute unrestricted double scrollLeft; readonly attribute long scrollWidth; |