LibWeb: Implement HTMLAreaElement.referrerPolicy

This commit is contained in:
Jamie Mansfield 2024-05-31 21:35:51 +01:00 committed by Andreas Kling
commit 8f2cb6755b
Notes: sideshowbarker 2024-07-17 05:02:42 +09:00
7 changed files with 18 additions and 3 deletions

View file

@ -61,6 +61,11 @@ WebIDL::ExceptionOr<void> HTMLAnchorElement::set_hyperlink_element_utils_href(St
return set_attribute(HTML::AttributeNames::href, move(href));
}
Optional<String> HTMLAnchorElement::hyperlink_element_utils_referrerpolicy() const
{
return attribute(HTML::AttributeNames::referrerpolicy);
}
bool HTMLAnchorElement::has_activation_behavior() const
{
return true;