mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
LibWeb/HTML: Port Window.scrollBy() to IDL
This commit is contained in:
parent
2b6d9cca1a
commit
3d075e55f5
3 changed files with 43 additions and 54 deletions
|
@ -61,6 +61,8 @@ interface Window : EventTarget {
|
|||
undefined scroll(unrestricted double x, unrestricted double y);
|
||||
[ImplementedAs=scroll] undefined scrollTo(optional ScrollToOptions options = {});
|
||||
[ImplementedAs=scroll] undefined scrollTo(unrestricted double x, unrestricted double y);
|
||||
undefined scrollBy(optional ScrollToOptions options = {});
|
||||
undefined scrollBy(unrestricted double x, unrestricted double y);
|
||||
|
||||
// FIXME: Everything from here on should be shared through WindowOrWorkerGlobalScope
|
||||
// https://w3c.github.io/hr-time/#the-performance-attribute
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue