diff options
author | Alexandrov Sergey <splavgm@gmail.com> | 2016-09-22 21:10:38 +0300 |
---|---|---|
committer | Alexandrov Sergey <splavgm@gmail.com> | 2016-09-26 21:49:10 +0300 |
commit | cf284cc03557d3c6bf4c4f517e36059b3f232c86 (patch) | |
tree | 7f7c7ed9b547acf23023218ca64353173aa418ba /components/script/dom/webidls/HTMLSelectElement.webidl | |
parent | 6bda47100756a22233cf9c86d4d449d262e6736c (diff) | |
download | servo-cf284cc03557d3c6bf4c4f517e36059b3f232c86.tar.gz servo-cf284cc03557d3c6bf4c4f517e36059b3f232c86.zip |
implement HTMLOptionsCollection and add related items to HTMLSelectElement
Diffstat (limited to 'components/script/dom/webidls/HTMLSelectElement.webidl')
-rw-r--r-- | components/script/dom/webidls/HTMLSelectElement.webidl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/webidls/HTMLSelectElement.webidl b/components/script/dom/webidls/HTMLSelectElement.webidl index b513806f965..027eea6362c 100644 --- a/components/script/dom/webidls/HTMLSelectElement.webidl +++ b/components/script/dom/webidls/HTMLSelectElement.webidl @@ -14,14 +14,14 @@ interface HTMLSelectElement : HTMLElement { readonly attribute DOMString type; - //readonly attribute HTMLOptionsCollection options; + readonly attribute HTMLOptionsCollection options; attribute unsigned long length; getter Element? item(unsigned long index); - //HTMLOptionElement? namedItem(DOMString name); + HTMLOptionElement? namedItem(DOMString name); // Note: this function currently only exists for union.html. void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null); - //void remove(); // ChildNode overload - //void remove(long index); + void remove(); // ChildNode overload + void remove(long index); //setter void (unsigned long index, HTMLOptionElement? option); //readonly attribute HTMLCollection selectedOptions; |