aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/HTMLOptionElement.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/HTMLOptionElement.webidl')
-rw-r--r--components/script/dom/webidls/HTMLOptionElement.webidl6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/webidls/HTMLOptionElement.webidl b/components/script/dom/webidls/HTMLOptionElement.webidl
index 713ff85a483..7b83e59c5f2 100644
--- a/components/script/dom/webidls/HTMLOptionElement.webidl
+++ b/components/script/dom/webidls/HTMLOptionElement.webidl
@@ -3,9 +3,9 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmloptionelement
-//[NamedConstructor=Option(optional DOMString text = "", optional DOMString value,
-// optional boolean defaultSelected = false,
-// optional boolean selected = false)]
+[HTMLConstructor/*, NamedConstructor=Option(optional DOMString text = "", optional DOMString value,
+ optional boolean defaultSelected = false,
+ optional boolean selected = false)*/]
interface HTMLOptionElement : HTMLElement {
attribute boolean disabled;
readonly attribute HTMLFormElement? form;