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

LibWeb: Remove DOM element deprecated_get_attribute()

This commit is contained in:
Bastiaan van der Plaat 2024-01-16 19:04:45 +01:00 committed by Andrew Kaster
parent c477f90df7
commit a681429dff
40 changed files with 114 additions and 122 deletions

View file

@ -29,9 +29,9 @@ public:
virtual void inserted() override;
ByteString rel() const { return deprecated_attribute(HTML::AttributeNames::rel); }
ByteString type() const { return deprecated_attribute(HTML::AttributeNames::type); }
ByteString href() const { return deprecated_attribute(HTML::AttributeNames::href); }
String rel() const { return get_attribute_value(HTML::AttributeNames::rel); }
String type() const { return get_attribute_value(HTML::AttributeNames::type); }
String href() const { return get_attribute_value(HTML::AttributeNames::href); }
bool has_loaded_icon() const;
bool load_favicon_and_use_if_window_is_active();