mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
LibWeb/HTML: Stub History.scrollRestoration
This commit is contained in:
parent
9eede09c3c
commit
e4e64c15aa
Notes:
github-actions[bot]
2024-07-21 11:26:31 +00:00
Author: https://github.com/jamierocks Commit: https://github.com/LadybirdBrowser/ladybird/commit/e4e64c15aa1 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/744
1 changed files with 4 additions and 1 deletions
|
@ -1,8 +1,11 @@
|
|||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#scrollrestoration
|
||||
enum ScrollRestoration { "auto", "manual" };
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/history.html#the-history-interface
|
||||
[Exposed=Window]
|
||||
interface History {
|
||||
readonly attribute unsigned long length;
|
||||
// FIXME: attribute ScrollRestoration scrollRestoration;
|
||||
[FIXME] attribute ScrollRestoration scrollRestoration;
|
||||
readonly attribute any state;
|
||||
undefined go(optional long delta = 0);
|
||||
undefined back();
|
||||
|
|
Loading…
Reference in a new issue