mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +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
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…
Add table
Add a link
Reference in a new issue