mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
element scroll setters
This commit is contained in:
parent
fefdaf76de
commit
11b12f677b
8 changed files with 364 additions and 41 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue