mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 22:38:51 +00:00
LibWeb: Implement HTMLOrSVGElement.tabIndex
This commit is contained in:
parent
6c21c72492
commit
1473bc9169
Notes:
sideshowbarker
2024-07-17 04:43:06 +09:00
Author: https://github.com/Lubrsi
Commit: 1473bc9169
Pull-request: https://github.com/SerenityOS/serenity/pull/15964
Reviewed-by: https://github.com/awesomekling
22 changed files with 119 additions and 0 deletions
|
@ -86,4 +86,11 @@ void HTMLButtonElement::set_type(String const& type)
|
|||
MUST(set_attribute(HTML::AttributeNames::type, type));
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/interaction.html#dom-tabindex
|
||||
i32 HTMLButtonElement::default_tab_index_value() const
|
||||
{
|
||||
// See the base function for the spec comments.
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue