mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 04:52:06 +02:00
LibWeb: Remove unnecessary methods from HTMLHyperlinkElementUtils
These could all be implemented in terms of `hyperlink_element_utils_element()`.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
ba4a58fc0a
commit
0448731059
Notes:
github-actions[bot]
2026-01-13 09:07:14 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/04487310595 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7445 Reviewed-by: https://github.com/gmta ✅ Reviewed-by: https://github.com/shannonbooth ✅
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user