summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.h
diff options
context:
space:
mode:
authorLuke Wilde <lukew@serenityos.org>2022-03-01 21:03:30 +0000
committerAndreas Kling <kling@serenityos.org>2022-03-01 23:19:41 +0100
commit432d496ed6dbb44b3915c76b59e88f4257b4a510 (patch)
tree6e67ebe4489dc10b871cb8c7dec0dd3fb4f3aa66 /Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.h
parentd2e18175eff3dea89375e9ce12998c5e820213a5 (diff)
downloadserenity-432d496ed6dbb44b3915c76b59e88f4257b4a510.zip
LibWeb: Add form associated element categories
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.h')
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.h b/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.h
index f9295cab59..c0b5fe9389 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.h
+++ b/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.h
@@ -22,6 +22,13 @@ public:
static String fieldset = "fieldset";
return fieldset;
}
+
+ // ^FormAssociatedElement
+ // https://html.spec.whatwg.org/multipage/forms.html#category-listed
+ virtual bool is_listed() const override { return true; }
+
+ // https://html.spec.whatwg.org/multipage/forms.html#category-autocapitalize
+ virtual bool is_auto_capitalize_inheriting() const override { return true; }
};
}