1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:57:35 +00:00

LibWeb: Expose NamedNodeMap::append_attribute in Element

This commit is contained in:
Shannon Booth 2023-10-04 17:42:40 +13:00 committed by Sam Atkins
parent 907be5a96e
commit 19ca6f68ba
2 changed files with 8 additions and 0 deletions

View file

@ -122,6 +122,8 @@ public:
WebIDL::ExceptionOr<JS::GCPtr<Attr>> set_attribute_node(Attr&);
WebIDL::ExceptionOr<JS::GCPtr<Attr>> set_attribute_node_ns(Attr&);
void append_attribute(Attr&);
// FIXME: This should take a 'FlyString cosnt&'
void remove_attribute(StringView name);