mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-10 05:02:54 +00:00
LibWeb: Implement HTMLMarqueeElement.scrollAmount
This commit is contained in:
parent
66528a17cb
commit
2a408ecfbc
Notes:
sideshowbarker
2024-07-17 06:09:44 +09:00
Author: https://github.com/jamierocks
Commit: 2a408ecfbc
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/608
4 changed files with 26 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue