mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 04:44:58 +00:00
LibWeb: Implement HTMLOrSVGElement.tabIndex
This commit is contained in:
parent
6c21c72492
commit
1473bc9169
22 changed files with 119 additions and 0 deletions
|
@ -122,4 +122,11 @@ void HTMLSelectElement::set_selected_index(int index)
|
|||
selected_option->m_dirty = true;
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/interaction.html#dom-tabindex
|
||||
i32 HTMLSelectElement::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