mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:58:12 +00:00
LibWeb: Port HTMLAnchorElement interface from DeprecatedString to String
This commit is contained in:
parent
76af9d434c
commit
e5910a4593
3 changed files with 21 additions and 16 deletions
|
@ -23,11 +23,11 @@ public:
|
|||
DeprecatedString target() const { return deprecated_attribute(HTML::AttributeNames::target); }
|
||||
DeprecatedString download() const { return deprecated_attribute(HTML::AttributeNames::download); }
|
||||
|
||||
DeprecatedString text() const;
|
||||
void set_text(DeprecatedString const&);
|
||||
String text() const;
|
||||
void set_text(String const&);
|
||||
|
||||
DeprecatedString referrer_policy() const;
|
||||
WebIDL::ExceptionOr<void> set_referrer_policy(DeprecatedString const&);
|
||||
StringView referrer_policy() const;
|
||||
WebIDL::ExceptionOr<void> set_referrer_policy(String const&);
|
||||
|
||||
// ^EventTarget
|
||||
// https://html.spec.whatwg.org/multipage/interaction.html#the-tabindex-attribute:the-a-element
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue