diff options
author | Luke Wilde <lukew@serenityos.org> | 2022-03-01 21:03:30 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-01 23:19:41 +0100 |
commit | 432d496ed6dbb44b3915c76b59e88f4257b4a510 (patch) | |
tree | 6e67ebe4489dc10b871cb8c7dec0dd3fb4f3aa66 /Userland/Libraries/LibWeb/HTML/HTMLElement.h | |
parent | d2e18175eff3dea89375e9ce12998c5e820213a5 (diff) | |
download | serenity-432d496ed6dbb44b3915c76b59e88f4257b4a510.zip |
LibWeb: Add form associated element categories
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLElement.h')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLElement.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLElement.h b/Userland/Libraries/LibWeb/HTML/HTMLElement.h index 9e925b2b59..1674a906c0 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLElement.h @@ -46,6 +46,9 @@ public: bool fire_a_synthetic_pointer_event(FlyString const& type, DOM::Element& target, bool not_trusted); + // https://html.spec.whatwg.org/multipage/forms.html#category-label + virtual bool is_labelable() const { return false; } + protected: virtual void parse_attribute(const FlyString& name, const String& value) override; |