Index: core/html/HTMLOptionElement.idl |
diff --git a/core/html/HTMLOptionElement.idl b/core/html/HTMLOptionElement.idl |
index 41c6592f2396ad2bb2a7c1ce5d66890a6f9ba049..d57d72a5a9795026a2c9ee5460591f97974f9c96 100644 |
--- a/core/html/HTMLOptionElement.idl |
+++ b/core/html/HTMLOptionElement.idl |
@@ -19,7 +19,11 @@ |
*/ |
[ |
- NamedConstructor=Option([Default=NullString] optional DOMString data, [Default=NullString] optional DOMString value, [Default=Undefined] optional boolean defaultSelected, [Default=Undefined] optional boolean selected), |
+ NamedConstructor=Option(optional DOMString data = null, |
+ optional DOMString value = null, |
+ [Default=Undefined] optional boolean defaultSelected, |
+ [Default=Undefined] optional boolean selected), |
+ ConstructorCallWith=Document, |
RaisesException=Constructor |
] interface HTMLOptionElement : HTMLElement { |
[Reflect] attribute boolean disabled; |