mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 02:13:56 +09:00
LibWeb: Use HTMLOptionElement in select item getter
fix item
This commit is contained in:
parent
6f84f69677
commit
8342525434
Notes:
sideshowbarker
2024-07-17 00:37:23 +09:00
Author: https://github.com/bplaat
Commit: 8342525434
Pull-request: https://github.com/SerenityOS/serenity/pull/23895
Reviewed-by: https://github.com/shannonbooth
3 changed files with 8 additions and 10 deletions
|
@ -36,8 +36,8 @@ public:
|
|||
|
||||
WebIDL::UnsignedLong length();
|
||||
WebIDL::ExceptionOr<void> set_length(WebIDL::UnsignedLong);
|
||||
DOM::Element* item(size_t index);
|
||||
DOM::Element* named_item(FlyString const& name);
|
||||
HTMLOptionElement* item(WebIDL::UnsignedLong index);
|
||||
HTMLOptionElement* named_item(FlyString const& name);
|
||||
WebIDL::ExceptionOr<void> add(HTMLOptionOrOptGroupElement element, Optional<HTMLElementOrElementIndex> before = {});
|
||||
void remove();
|
||||
void remove(WebIDL::Long);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue