LibWeb: Implement history.scrollRestoration

This commit is contained in:
Jelle Raaijmakers 2024-10-02 10:33:05 +02:00 committed by Andrew Kaster
commit 2106617f5b
Notes: github-actions[bot] 2024-10-02 23:09:11 +00:00
5 changed files with 59 additions and 1 deletions

View file

@ -5,7 +5,7 @@ enum ScrollRestoration { "auto", "manual" };
[Exposed=Window]
interface History {
readonly attribute unsigned long length;
[FIXME] attribute ScrollRestoration scrollRestoration;
attribute ScrollRestoration scrollRestoration;
readonly attribute any state;
undefined go(optional long delta = 0);
undefined back();