mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
LibWeb: Make HTMLSelectElement a FormAssociatedElement
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2020, The SerenityOS developers.
|
||||
* Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -26,16 +27,23 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LibWeb/HTML/FormAssociatedElement.h>
|
||||
#include <LibWeb/HTML/HTMLElement.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
class HTMLSelectElement final : public HTMLElement {
|
||||
class HTMLSelectElement final
|
||||
: public HTMLElement
|
||||
, public FormAssociatedElement {
|
||||
public:
|
||||
using WrapperType = Bindings::HTMLSelectElementWrapper;
|
||||
|
||||
HTMLSelectElement(DOM::Document&, QualifiedName);
|
||||
virtual ~HTMLSelectElement() override;
|
||||
|
||||
private:
|
||||
virtual void inserted() override;
|
||||
virtual void removed_from(DOM::Node*) override;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user