LibWeb: Take namespace into account when matching attribute

This commit is contained in:
Netanel Haber 2024-11-27 20:24:29 +02:00 committed by Sam Atkins
commit d743fcb376
Notes: github-actions[bot] 2024-11-30 16:48:12 +00:00
5 changed files with 77 additions and 3 deletions

View file

@ -53,6 +53,8 @@ public:
Attr const* remove_attribute(FlyString const& qualified_name);
Attr const* remove_attribute_ns(Optional<FlyString> const& namespace_, FlyString const& local_name);
Attr const* get_attribute_namespace_agnostic(FlyString const& local_name) const;
WebIDL::ExceptionOr<GC::Ref<Attr>> remove_attribute_node(GC::Ref<Attr>);
private: