mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Auto merge of #25413 - pshaughn:optionindex, r=jdm
Implement HTMLOptionElement.index <!-- Please describe your changes on the following line: --> Made list_of_options public in HTMLSelectElement so HTMLOptionElement can see it, added index-getting to HTMLOptionElement. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #25392 <!-- Either: --> - [X] There are tests for these changes OR <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
commit
6b79a8f042
5 changed files with 43 additions and 25 deletions
|
@ -22,5 +22,5 @@ interface HTMLOptionElement : HTMLElement {
|
|||
|
||||
[CEReactions]
|
||||
attribute DOMString text;
|
||||
// readonly attribute long index;
|
||||
readonly attribute long index;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue