mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00
LibWeb: Add HTMLAnchorElement.referrerPolicy property
This commit is contained in:
parent
0c19d3aa58
commit
88d64fcb55
7 changed files with 87 additions and 0 deletions
|
@ -26,6 +26,9 @@ public:
|
|||
DeprecatedString text() const;
|
||||
void set_text(DeprecatedString const&);
|
||||
|
||||
DeprecatedString referrer_policy() const;
|
||||
WebIDL::ExceptionOr<void> set_referrer_policy(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