forked from mirrors/gecko-dev
Source-Repo: https://github.com/servo/servo Source-Revision: 5f813233c9e2b51497c1e5fe4bc10ffd641a3b5e --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : 8d4fa0d62ab00edf940cc9e67ec115ce806dc8b9
18 lines
731 B
Text
18 lines
731 B
Text
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
// https://html.spec.whatwg.org/multipage/#htmloptionscollection
|
|
interface HTMLOptionsCollection : HTMLCollection {
|
|
// inherits item(), namedItem()
|
|
attribute unsigned long length; // shadows inherited length
|
|
//[CEReactions]
|
|
[Throws]
|
|
setter void (unsigned long index, HTMLOptionElement? option);
|
|
//[CEReactions]
|
|
[Throws]
|
|
void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
|
|
//[CEReactions]
|
|
void remove(long index);
|
|
attribute long selectedIndex;
|
|
};
|