LibWeb: Reorder and add missing form elements IDL items

This commit is contained in:
Bastiaan van der Plaat 2023-10-04 17:55:33 +02:00 committed by Andreas Kling
commit 3e778fe29c
Notes: sideshowbarker 2024-07-17 07:09:53 +09:00
13 changed files with 159 additions and 50 deletions

View file

@ -3,15 +3,15 @@
// https://html.spec.whatwg.org/multipage/form-elements.html#htmloptionelement
[Exposed=Window, LegacyFactoryFunction=Option(optional DOMString text = "", optional DOMString value, optional boolean defaultSelected = false, optional boolean selected = false)]
interface HTMLOptionElement : HTMLElement {
[HTMLConstructor] constructor();
[CEReactions, Reflect] attribute boolean disabled;
// FIXME: readonly attribute HTMLFormElement? form;
[CEReactions, Reflect] attribute DOMString label;
[CEReactions, Reflect=selected] attribute boolean defaultSelected;
attribute boolean selected;
[CEReactions] attribute DOMString value;
[CEReactions] attribute DOMString text;
readonly attribute long index;
};