mirror of
https://github.com/servo/servo.git
synced 2025-08-08 15:05:35 +01:00
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:
commit
5f813233c9
5 changed files with 64 additions and 24 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue