LibWeb: Implement HTMLOrSVGElement.tabIndex

This commit is contained in:
Luke Wilde 2022-11-05 03:58:14 +00:00 committed by Andreas Kling
commit 1473bc9169
Notes: sideshowbarker 2024-07-17 04:43:06 +09:00
22 changed files with 119 additions and 0 deletions

View file

@ -35,4 +35,11 @@ void HTMLAreaElement::set_hyperlink_element_utils_href(String href)
MUST(set_attribute(HTML::AttributeNames::href, move(href)));
}
// https://html.spec.whatwg.org/multipage/interaction.html#dom-tabindex
i32 HTMLAreaElement::default_tab_index_value() const
{
// See the base function for the spec comments.
return 0;
}
}