1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00

LibWeb: Move enabled() to FormAssociatedElement and follow the spec

This commit is contained in:
Luke Wilde 2022-03-01 20:59:46 +00:00 committed by Andreas Kling
parent 99f52e52d2
commit d2e18175ef
4 changed files with 29 additions and 7 deletions

View file

@ -19,6 +19,8 @@ public:
void set_form(HTMLFormElement*);
bool enabled() const;
protected:
FormAssociatedElement(DOM::Document& document, DOM::QualifiedName qualified_name)
: HTMLElement(document, move(qualified_name))