summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
diff options
context:
space:
mode:
authorLuke Wilde <lukew@serenityos.org>2021-09-26 15:24:41 +0100
committerAndreas Kling <kling@serenityos.org>2021-09-26 18:59:56 +0200
commitf6b24a72ee60be994917d941e30c4fe7ccccfee6 (patch)
tree201c0b4dd3604c0bab2d2f8210d77de7df9b6bf2 /Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
parent37347cbcb64e20300155df4168412f58f33f07c6 (diff)
downloadserenity-f6b24a72ee60be994917d941e30c4fe7ccccfee6.zip
LibWeb: Add support for HTMLOrSVGElement.dataset
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLElement.cpp')
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLElement.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
index c6d5ba6205..2f32a0a58d 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
+++ b/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
@@ -23,6 +23,7 @@ namespace Web::HTML {
HTMLElement::HTMLElement(DOM::Document& document, QualifiedName qualified_name)
: Element(document, move(qualified_name))
+ , m_dataset(DOMStringMap::create(*this))
{
}