Auto merge of #15520 - frewsxcv:html-options-collection-selected-index, r=nox

Implement `selectedIndex` IDL attribute on `HTMLOptionsCollection`.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15520)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-02-19 03:08:12 -08:00 committed by GitHub
commit 5f813233c9
5 changed files with 64 additions and 24 deletions

View file

@ -14,5 +14,5 @@ interface HTMLOptionsCollection : HTMLCollection {
void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
//[CEReactions]
void remove(long index);
//attribute long selectedIndex;
attribute long selectedIndex;
};