LibWeb: Implement Element.removeAttributeNode()

This commit is contained in:
Andreas Kling 2024-04-14 15:49:48 +02:00
commit 20bdda7f02
Notes: sideshowbarker 2024-07-16 22:17:03 +09:00
7 changed files with 43 additions and 1 deletions

View file

@ -112,6 +112,7 @@ public:
void append_attribute(Attr&);
void remove_attribute(FlyString const& name);
void remove_attribute_ns(Optional<FlyString> const& namespace_, FlyString const& name);
WebIDL::ExceptionOr<JS::NonnullGCPtr<Attr>> remove_attribute_node(JS::NonnullGCPtr<Attr>);
WebIDL::ExceptionOr<bool> toggle_attribute(FlyString const& name, Optional<bool> force);
size_t attribute_list_size() const;