summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/ScrollOptions.h
blob: 288659f4fde0e519786b74def823461763b863a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright (c) 2023, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <LibWeb/Bindings/WindowGlobalMixin.h>

namespace Web::HTML {

// https://w3c.github.io/csswg-drafts/cssom-view/#dictdef-scrolloptions
struct ScrollOptions {
    Bindings::ScrollBehavior behavior { Bindings::ScrollBehavior::Auto };
};

}