Implement HTMLOptionElement named constructor

This commit is contained in:
teapotd 2019-12-26 02:22:58 +01:00
parent 8002c6bc53
commit 155f69ce48
13 changed files with 136 additions and 93 deletions

View file

@ -3,9 +3,9 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmloptionelement
[Exposed=Window/*, NamedConstructor=Option(optional DOMString text = "", optional DOMString value,
[Exposed=Window, NamedConstructor=Option(optional DOMString text = "", optional DOMString value,
optional boolean defaultSelected = false,
optional boolean selected = false)*/]
optional boolean selected = false)]
interface HTMLOptionElement : HTMLElement {
[HTMLConstructor] constructor();