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

LibWeb: Port Element::get_attribute_value from ByteString

This commit is contained in:
Shannon Booth 2023-12-27 13:28:00 +13:00 committed by Andreas Kling
parent 2751f32a18
commit 462f97b28a
3 changed files with 9 additions and 8 deletions

View file

@ -103,7 +103,7 @@ public:
// FIXME: This should be taking a 'FlyString const&' / 'Optional<FlyString> const&'
Optional<String> get_attribute(StringView name) const;
ByteString deprecated_get_attribute(StringView name) const;
ByteString get_attribute_value(FlyString const& local_name, Optional<FlyString> const& namespace_ = {}) const;
String get_attribute_value(FlyString const& local_name, Optional<FlyString> const& namespace_ = {}) const;
WebIDL::ExceptionOr<void> set_attribute(FlyString const& name, String const& value);