mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 09:17:35 +00:00
LibWeb: Add support for HTMLOrSVGElement.dataset
This commit is contained in:
parent
37347cbcb6
commit
f6b24a72ee
12 changed files with 259 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibWeb/DOM/Element.h>
|
||||
#include <LibWeb/HTML/DOMStringMap.h>
|
||||
|
||||
namespace Web::SVG {
|
||||
|
||||
|
@ -16,8 +17,12 @@ public:
|
|||
|
||||
virtual bool requires_svg_container() const override { return true; }
|
||||
|
||||
NonnullRefPtr<HTML::DOMStringMap> dataset() const { return m_dataset; }
|
||||
|
||||
protected:
|
||||
SVGElement(DOM::Document&, QualifiedName);
|
||||
|
||||
NonnullRefPtr<HTML::DOMStringMap> m_dataset;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue