mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-25 03:36:36 +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: e4e64c15aa
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
|
// https://html.spec.whatwg.org/multipage/history.html#the-history-interface
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface History {
|
interface History {
|
||||||
readonly attribute unsigned long length;
|
readonly attribute unsigned long length;
|
||||||
// FIXME: attribute ScrollRestoration scrollRestoration;
|
[FIXME] attribute ScrollRestoration scrollRestoration;
|
||||||
readonly attribute any state;
|
readonly attribute any state;
|
||||||
undefined go(optional long delta = 0);
|
undefined go(optional long delta = 0);
|
||||||
undefined back();
|
undefined back();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue