
Use the stub implementation of HTMLOptionsCollection to expose the `option` children of `select` elements. This fixes a JS error on openstreetmap.org, which occured when JQuery code tried to access `options.length`: https://github.com/jquery/jquery/blob/main/src/attributes/val.js#L121
11 lines
315 B
Text
11 lines
315 B
Text
#import <HTML/HTMLElement.idl>
|
|
#import <HTML/HTMLOptionsCollection.idl>
|
|
|
|
interface HTMLSelectElement : HTMLElement {
|
|
|
|
[Reflect] attribute boolean disabled;
|
|
[Reflect] attribute boolean multiple;
|
|
[Reflect] attribute boolean required;
|
|
[SameObject] readonly attribute HTMLOptionsCollection options;
|
|
|
|
};
|