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

LibWeb: Implement Element.getAttributeNS

This commit is contained in:
Shannon Booth 2024-01-13 17:31:46 +13:00 committed by Andreas Kling
parent 8cf783b260
commit 785fa60cca
5 changed files with 36 additions and 0 deletions

View file

@ -99,6 +99,7 @@ public:
Optional<String> attribute(FlyString const& name) const { return get_attribute(name); }
Optional<String> get_attribute(FlyString const& name) const;
Optional<String> get_attribute_ns(Optional<FlyString> const& namespace_, FlyString const& name) const;
ByteString deprecated_get_attribute(FlyString const& name) const;
String get_attribute_value(FlyString const& local_name, Optional<FlyString> const& namespace_ = {}) const;