summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.h
diff options
context:
space:
mode:
authorLuke Wilde <lukew@serenityos.org>2022-09-30 16:21:34 +0100
committerAndreas Kling <kling@serenityos.org>2022-09-30 18:05:48 +0200
commit2133b7d58ae2b971c346d28f8c092d3d2e39ec4c (patch)
tree8873911ec9d188176e87e3f7b18f07be35f01453 /Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.h
parentc85fcd442f4354988ccc3354f7e88bb2d2c21fe7 (diff)
downloadserenity-2133b7d58ae2b971c346d28f8c092d3d2e39ec4c.zip
LibWeb: Implement :enabled and :disabled pseudo classes to spec
Previously we only considered an element disabled if it was an <input> element with the disabled attribute, but there's way more elements that apply with more nuanced disabled/enabled rules.
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.h')
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.h b/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.h
index 39f971cd65..0619f9350e 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.h
+++ b/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.h
@@ -26,6 +26,8 @@ public:
return fieldset;
}
+ bool is_disabled() const;
+
// ^FormAssociatedElement
// https://html.spec.whatwg.org/multipage/forms.html#category-listed
virtual bool is_listed() const override { return true; }