1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 13:25:08 +00:00

LibWeb: Implement HTMLOrSVGElement.tabIndex

This commit is contained in:
Luke Wilde 2022-11-05 03:58:14 +00:00 committed by Andreas Kling
parent 6c21c72492
commit 1473bc9169
22 changed files with 119 additions and 0 deletions

View file

@ -77,4 +77,11 @@ void HTMLAnchorElement::run_activation_behavior(Web::DOM::Event const&)
follow_the_hyperlink(hyperlink_suffix);
}
// https://html.spec.whatwg.org/multipage/interaction.html#dom-tabindex
i32 HTMLAnchorElement::default_tab_index_value() const
{
// See the base function for the spec comments.
return 0;
}
}