mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:57:44 +00:00
LibWeb: Rename Element::attribute to Element::deprecated_attribute
This should allow us to add a Element::attribute which returns an Optional<String>. Eventually all callers should be ported to switch from the DeprecatedString version, but in the meantime, this should allow us to port some more IDL interfaces away from DeprecatedString.
This commit is contained in:
parent
da637a527d
commit
0f6782fae6
42 changed files with 141 additions and 141 deletions
|
@ -28,9 +28,9 @@ public:
|
|||
|
||||
virtual void inserted() override;
|
||||
|
||||
DeprecatedString rel() const { return attribute(HTML::AttributeNames::rel); }
|
||||
DeprecatedString type() const { return attribute(HTML::AttributeNames::type); }
|
||||
DeprecatedString href() const { return attribute(HTML::AttributeNames::href); }
|
||||
DeprecatedString rel() const { return deprecated_attribute(HTML::AttributeNames::rel); }
|
||||
DeprecatedString type() const { return deprecated_attribute(HTML::AttributeNames::type); }
|
||||
DeprecatedString href() const { return deprecated_attribute(HTML::AttributeNames::href); }
|
||||
|
||||
bool has_loaded_icon() const;
|
||||
bool load_favicon_and_use_if_window_is_active();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue