summaryrefslogtreecommitdiffstats
path: root/dom/webidl/HTMLOptionElement.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/webidl/HTMLOptionElement.webidl')
-rw-r--r--dom/webidl/HTMLOptionElement.webidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/webidl/HTMLOptionElement.webidl b/dom/webidl/HTMLOptionElement.webidl
index c80bedeef..34e6e6c23 100644
--- a/dom/webidl/HTMLOptionElement.webidl
+++ b/dom/webidl/HTMLOptionElement.webidl
@@ -11,7 +11,7 @@
* and create derivative works of this document.
*/
-[NamedConstructor=Option(optional DOMString text, optional DOMString value, optional boolean defaultSelected, optional boolean selected)]
+[HTMLConstructor, NamedConstructor=Option(optional DOMString text, optional DOMString value, optional boolean defaultSelected, optional boolean selected)]
interface HTMLOptionElement : HTMLElement {
[SetterThrows]
attribute boolean disabled;