mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 22:38:51 +00:00
parent
a0b44ff5e7
commit
85b424464a
Notes:
github-actions[bot]
2025-01-21 16:49:39 +00:00
Author: https://github.com/trflynn89
Commit: 85b424464a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3335
191 changed files with 574 additions and 574 deletions
|
@ -183,12 +183,12 @@ WebIDL::Long HTMLOptionsCollection::selected_index() const
|
|||
{
|
||||
// The selectedIndex IDL attribute must act like the identically named attribute
|
||||
// on the select element on which the HTMLOptionsCollection is rooted.
|
||||
return verify_cast<HTMLSelectElement>(*root()).selected_index();
|
||||
return as<HTMLSelectElement>(*root()).selected_index();
|
||||
}
|
||||
|
||||
void HTMLOptionsCollection::set_selected_index(WebIDL::Long index)
|
||||
{
|
||||
verify_cast<HTMLSelectElement>(*root()).set_selected_index(index);
|
||||
as<HTMLSelectElement>(*root()).set_selected_index(index);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue