Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Unified Diff: core/html/HTMLSelectElement.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/html/HTMLOutputElement.idl ('k') | core/html/HTMLSlotElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/html/HTMLSelectElement.idl
diff --git a/core/html/HTMLSelectElement.idl b/core/html/HTMLSelectElement.idl
index 718cec128d31644c7cd4058c927b22125298ab7c..f631cc2680b2fb8296ef8c567aebc7421aaf5e6b 100644
--- a/core/html/HTMLSelectElement.idl
+++ b/core/html/HTMLSelectElement.idl
@@ -37,13 +37,12 @@ interface HTMLSelectElement : HTMLElement {
// TODO(philipj): The length setter should never throw.
[RaisesException=Setter] attribute unsigned long length;
getter Element? item(unsigned long index);
- // TODO(philipj): The name argument should not be optional.
- HTMLOptionElement? namedItem([Default=Undefined] optional DOMString name);
- [RaisesException, TypeChecking=Interface] void add((HTMLOptionElement or HTMLOptGroupElement) element,
- optional (HTMLElement or long)? before = null);
+ HTMLOptionElement? namedItem(DOMString name);
+ [RaisesException] void add((HTMLOptionElement or HTMLOptGroupElement) element,
+ optional (HTMLElement or long)? before = null);
[RaisesException] void remove(); // ChildNode overload
void remove(long index);
- [RaisesException, TypeChecking=Interface] setter void (unsigned long index, HTMLOptionElement? option);
+ [RaisesException] setter void (unsigned long index, HTMLOptionElement? option);
readonly attribute HTMLCollection selectedOptions;
attribute long selectedIndex;
« no previous file with comments | « core/html/HTMLOutputElement.idl ('k') | core/html/HTMLSlotElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698