mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb: Implement HTMLSelectElement.add()
HTMLSelectElement simply defers to its HTMLOptionsCollection.
This commit is contained in:
committed by
Andreas Kling
parent
ff9856a214
commit
27eb70cbba
Notes:
sideshowbarker
2024-07-17 16:57:54 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/27eb70cbba Pull-request: https://github.com/SerenityOS/serenity/pull/13182
@@ -8,6 +8,8 @@ interface HTMLSelectElement : HTMLElement {
|
||||
[Reflect] attribute boolean required;
|
||||
[SameObject] readonly attribute HTMLOptionsCollection options;
|
||||
|
||||
[CEReactions] undefined add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
|
||||
|
||||
attribute long selectedIndex;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user