diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2020-01-07 21:26:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-07 21:26:48 -0500 |
commit | 1e7c206ac44edf0ad464c501af16de905b0af00b (patch) | |
tree | 193ef29e3a5b88432240c20133ae4dc27465f4a0 /components/script/dom/macros.rs | |
parent | bd636b0e6c4f124281ce9206eedd7f60ba4ed475 (diff) | |
parent | c1b71fcc4d842aa1df38d6ed36b73dc331508703 (diff) | |
download | servo-1e7c206ac44edf0ad464c501af16de905b0af00b.tar.gz servo-1e7c206ac44edf0ad464c501af16de905b0af00b.zip |
Auto merge of #25449 - pshaughn:select-adding, r=Manishearth
Implement HTMLSelectElement.add() and indexed setter
HTMLSelectElement.add and its indexed setter just needed to forward to matching methods in HTMLOptionsCollection, which they now do. It was also necessary to change codegen slightly; it had accidentally assumed that if an indexed setter existed, a named getter or setter also would.
I expect this and #25446 will combine to pass more tests than either alone does.
---
<!-- 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 #25003
<!-- Either: -->
- [X] There are tests for these changes
<!-- 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. -->
Diffstat (limited to 'components/script/dom/macros.rs')
0 files changed, 0 insertions, 0 deletions