mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:58:12 +00:00
LibWeb: Add HTMLAnchorElement.text getter and setter
And a FIXME for the missing `referrerPolicy` property.
This commit is contained in:
parent
888efe367e
commit
0c19d3aa58
3 changed files with 19 additions and 0 deletions
|
@ -23,6 +23,9 @@ public:
|
|||
DeprecatedString target() const { return attribute(HTML::AttributeNames::target); }
|
||||
DeprecatedString download() const { return attribute(HTML::AttributeNames::download); }
|
||||
|
||||
DeprecatedString text() const;
|
||||
void set_text(DeprecatedString const&);
|
||||
|
||||
// ^EventTarget
|
||||
// https://html.spec.whatwg.org/multipage/interaction.html#the-tabindex-attribute:the-a-element
|
||||
virtual bool is_focusable() const override { return has_attribute(HTML::AttributeNames::href); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue