LibWeb: Implement HTMLAreaElement.referrerPolicy

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

View file

@ -63,6 +63,11 @@ WebIDL::ExceptionOr<void> HTMLAreaElement::set_hyperlink_element_utils_href(Stri
return set_attribute(HTML::AttributeNames::href, move(href));
}
Optional<String> HTMLAreaElement::hyperlink_element_utils_referrerpolicy() const
{
return attribute(HTML::AttributeNames::referrerpolicy);
}
// https://html.spec.whatwg.org/multipage/interaction.html#dom-tabindex
i32 HTMLAreaElement::default_tab_index_value() const
{