diff options
author | Andreas Kling <kling@serenityos.org> | 2023-03-10 14:56:29 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-03-10 14:56:29 +0100 |
commit | fb6d6a985f383b545c5143a69beb938bd92bf41f (patch) | |
tree | f7c6d3aea39539f0b1994bc7b900118dab891038 /Userland/Libraries/LibWeb/DOM/Attr.h | |
parent | 8c5c78f1f11c43f5c763ba74e3a1ea9db057b6f4 (diff) | |
download | serenity-fb6d6a985f383b545c5143a69beb938bd92bf41f.zip |
LibWeb: Implement Element.setAttributeNode{,NS}()
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/Attr.h')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/Attr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Attr.h b/Userland/Libraries/LibWeb/DOM/Attr.h index d3d88bb69d..ee94fd802c 100644 --- a/Userland/Libraries/LibWeb/DOM/Attr.h +++ b/Userland/Libraries/LibWeb/DOM/Attr.h @@ -18,7 +18,8 @@ class Attr final : public Node { WEB_PLATFORM_OBJECT(Attr, Node); public: - static WebIDL::ExceptionOr<JS::NonnullGCPtr<Attr>> create(Document&, DeprecatedFlyString local_name, DeprecatedString value, Element const* = nullptr); + static WebIDL::ExceptionOr<JS::NonnullGCPtr<Attr>> create(Document&, QualifiedName, DeprecatedString value = "", Element const* = nullptr); + static WebIDL::ExceptionOr<JS::NonnullGCPtr<Attr>> create(Document&, DeprecatedFlyString local_name, DeprecatedString value = "", Element const* = nullptr); JS::NonnullGCPtr<Attr> clone(Document&); virtual ~Attr() override = default; |