mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb: Take namespace into account when matching attribute
This commit is contained in:
parent
033cd9cab3
commit
d743fcb376
Notes:
github-actions[bot]
2024-11-30 16:48:12 +00:00
Author: https://github.com/netanel-haber 🔰
Commit: d743fcb376
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2613
Reviewed-by: https://github.com/AtkinsSJ ✅
5 changed files with 77 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue