mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
LibWeb: Implement HTMLMarqueeElement.scrollAmount
This commit is contained in:
committed by
Andreas Kling
parent
66528a17cb
commit
2a408ecfbc
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2020, the SerenityOS developers.
|
||||
* Copyright (c) 2024, Jamie Mansfield <jmansfield@cadixdev.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
@@ -7,6 +8,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <LibWeb/HTML/HTMLElement.h>
|
||||
#include <LibWeb/WebIDL/Types.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
@@ -18,6 +20,9 @@ class HTMLMarqueeElement final : public HTMLElement {
|
||||
public:
|
||||
virtual ~HTMLMarqueeElement() override;
|
||||
|
||||
WebIDL::UnsignedLong scroll_amount();
|
||||
WebIDL::ExceptionOr<void> set_scroll_amount(WebIDL::UnsignedLong);
|
||||
|
||||
private:
|
||||
HTMLMarqueeElement(DOM::Document&, DOM::QualifiedName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user