Auto merge of #27255 - avr1254:master, r=jdm

Implemented HTMLFormElement.relList

<!-- Please describe your changes on the following line: -->
Updated the tests to reflect addition of rel and relList for HTMLFormElement, as well as porting those code snippets from HTMLAnchorElement.

---
<!-- 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 #27252  (GitHub issue number if applicable)

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- 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:
bors-servo 2020-07-14 12:49:13 -04:00 committed by GitHub
commit c8d0548824
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 33 additions and 17 deletions

View file

@ -1,4 +0,0 @@
[put-forwards.html]
type: testharness
[Setting form.relList to noreferrer is reflected in rel]
expected: FAIL

View file

@ -1911,9 +1911,6 @@
[HTMLElement interface: attribute accessKey]
expected: FAIL
[HTMLFormElement interface: attribute rel]
expected: FAIL
[HTMLObjectElement interface: document.createElement("object") must inherit property "vspace" with the proper type]
expected: FAIL
@ -2547,9 +2544,6 @@
[HTMLInputElement interface: createInput("password") must inherit property "useMap" with the proper type]
expected: FAIL
[HTMLFormElement interface: attribute relList]
expected: FAIL
[HTMLElement interface: document.createElement("noscript") must inherit property "onauxclick" with the proper type]
expected: FAIL
@ -3237,9 +3231,6 @@
[HTMLInputElement interface: createInput("radio") must inherit property "useMap" with the proper type]
expected: FAIL
[HTMLFormElement interface: document.createElement("form") must inherit property "rel" with the proper type]
expected: FAIL
[HTMLIFrameElement interface: attribute allowPaymentRequest]
expected: FAIL
@ -3375,9 +3366,6 @@
[HTMLAreaElement interface: document.createElement("area") must inherit property "username" with the proper type]
expected: FAIL
[HTMLFormElement interface: document.createElement("form") must inherit property "relList" with the proper type]
expected: FAIL
[HTMLInputElement interface: createInput("search") must inherit property "height" with the proper type]
expected: FAIL