Index: Source/core/html/HTMLOptionsCollection.idl |
diff --git a/Source/core/html/HTMLOptionsCollection.idl b/Source/core/html/HTMLOptionsCollection.idl |
index 1809be9f11724aaabbdd600b935fddbea10f05b2..f17973199830762a3172645fa4723f8f4b63a9b9 100644 |
--- a/Source/core/html/HTMLOptionsCollection.idl |
+++ b/Source/core/html/HTMLOptionsCollection.idl |
@@ -31,6 +31,7 @@ |
// FIXME: The spec and firefox return an Element (the first matching Element). |
[ImplementedAs=namedGetter] getter (NodeList or Element)? namedItem(DOMString name); |
- [Custom, RaisesException] void add([Default=Undefined] optional HTMLOptionElement option, optional unsigned long index); |
+ [RaisesException, TypeChecking=Interface] void add((HTMLOptionElement or HTMLOptGroupElement) element, |
+ optional (HTMLElement or long)? before = null); |
void remove(unsigned long index); |
}; |