mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-04 10:18:51 +00:00
LibWeb: Implement HTMLAreaElement.referrerPolicy
This commit is contained in:
parent
64eadab181
commit
8f2cb6755b
Notes:
sideshowbarker
2024-07-17 05:02:42 +09:00
Author: https://github.com/jamierocks
Commit: 8f2cb6755b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/23
7 changed files with 18 additions and 3 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue