mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
LibWeb: Make HTMLDivElement not "final"
This is to prepare for making some custom internal divs inside the input element UA shadow tree.
This commit is contained in:
parent
ce764c340a
commit
6fb661e781
Notes:
sideshowbarker
2024-07-17 03:10:07 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/6fb661e781 Pull-request: https://github.com/SerenityOS/serenity/pull/19035
1 changed files with 3 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
namespace Web::HTML {
|
||||
|
||||
class HTMLDivElement final : public HTMLElement {
|
||||
class HTMLDivElement : public HTMLElement {
|
||||
WEB_PLATFORM_OBJECT(HTMLDivElement, HTMLElement);
|
||||
|
||||
public:
|
||||
|
@ -20,9 +20,10 @@ public:
|
|||
// https://www.w3.org/TR/html-aria/#el-div
|
||||
virtual Optional<ARIA::Role> default_role() const override { return ARIA::Role::generic; }
|
||||
|
||||
private:
|
||||
protected:
|
||||
HTMLDivElement(DOM::Document&, DOM::QualifiedName);
|
||||
|
||||
private:
|
||||
virtual JS::ThrowCompletionOr<void> initialize(JS::Realm&) override;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue