mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
LibWeb: Remove DOM element deprecated_get_attribute()
This commit is contained in:
parent
c477f90df7
commit
a681429dff
40 changed files with 114 additions and 122 deletions
|
@ -20,9 +20,9 @@ class HTMLAnchorElement final
|
|||
public:
|
||||
virtual ~HTMLAnchorElement() override;
|
||||
|
||||
ByteString rel() const { return deprecated_attribute(HTML::AttributeNames::rel); }
|
||||
ByteString target() const { return deprecated_attribute(HTML::AttributeNames::target); }
|
||||
ByteString download() const { return deprecated_attribute(HTML::AttributeNames::download); }
|
||||
String rel() const { return get_attribute_value(HTML::AttributeNames::rel); }
|
||||
String target() const { return get_attribute_value(HTML::AttributeNames::target); }
|
||||
String download() const { return get_attribute_value(HTML::AttributeNames::download); }
|
||||
|
||||
String text() const;
|
||||
void set_text(String const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue