LibWeb: Remove unnecessary methods from HTMLHyperlinkElementUtils

These could all be implemented in terms of
`hyperlink_element_utils_element()`.
This commit is contained in:
Tim Ledbetter
2026-01-11 19:54:57 +00:00
committed by Jelle Raaijmakers
parent ba4a58fc0a
commit 0448731059
Notes: github-actions[bot] 2026-01-13 09:07:14 +00:00
6 changed files with 27 additions and 87 deletions

View File

@@ -54,21 +54,6 @@ GC::Ref<DOM::DOMTokenList> HTMLAreaElement::rel_list()
return *m_rel_list;
}
Optional<String> HTMLAreaElement::hyperlink_element_utils_href() const
{
return attribute(HTML::AttributeNames::href);
}
void HTMLAreaElement::set_hyperlink_element_utils_href(String href)
{
set_attribute_value(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
{