Auto merge of #21856 - zcorpan:zcorpan/remove-td-th-interfaces, r=jdm

Remove the HTMLTable{Header,Data}CellElement interfaces

Fixes #17222.

<!-- Please describe your changes on the following line: -->
This removes the `HTMLTableHeaderCellElement` and `HTMLTableDataCellElement` interfaces and uses the `HTMLTableCellElement` interface for both `th` and `td` elements, as per the spec.

---
<!-- 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 #17222.

<!-- 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. -->

<!-- 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/21856)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-10-12 09:30:41 -04:00 committed by GitHub
commit 69e5243810
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 42 additions and 191 deletions

View file

@ -1,5 +1,4 @@
[builtin-coverage.html]
expected: ERROR
[Untitled]
expected: FAIL
@ -385,8 +384,6 @@
expected: FAIL
[td: Operator 'new' should instantiate a customized built-in element]
expected: FAIL
[td: document.createElement() should instantiate a customized built-in element]
expected: FAIL
[td: innerHTML should instantiate a customized built-in element]
expected: FAIL
[template: Operator 'new' should instantiate a customized built-in element]
@ -403,8 +400,6 @@
expected: FAIL
[th: Operator 'new' should instantiate a customized built-in element]
expected: FAIL
[th: document.createElement() should instantiate a customized built-in element]
expected: FAIL
[th: innerHTML should instantiate a customized built-in element]
expected: FAIL
[thead: Operator 'new' should instantiate a customized built-in element]

View file

@ -3,9 +3,3 @@
[document.all cannot find applet]
expected: FAIL
[HTMLTableHeaderCellElement interface is removed]
expected: FAIL
[HTMLTableDataCellElement interface is removed]
expected: FAIL

View file

@ -2231,12 +2231,6 @@
[HTMLTableCellElement interface: attribute vAlign]
expected: FAIL
[HTMLTableCellElement must be primary interface of document.createElement("td")]
expected: FAIL
[Stringification of document.createElement("td")]
expected: FAIL
[HTMLTableCellElement interface: document.createElement("td") must inherit property "headers" with the proper type]
expected: FAIL
@ -2267,12 +2261,6 @@
[HTMLTableCellElement interface: document.createElement("td") must inherit property "vAlign" with the proper type]
expected: FAIL
[HTMLTableCellElement must be primary interface of document.createElement("th")]
expected: FAIL
[Stringification of document.createElement("th")]
expected: FAIL
[HTMLTableCellElement interface: document.createElement("th") must inherit property "headers" with the proper type]
expected: FAIL
@ -7569,12 +7557,6 @@
[HTMLTableCellElement interface: attribute vAlign]
expected: FAIL
[HTMLTableCellElement must be primary interface of document.createElement("td")]
expected: FAIL
[Stringification of document.createElement("td")]
expected: FAIL
[HTMLTableCellElement interface: document.createElement("td") must inherit property "headers" with the proper type]
expected: FAIL
@ -7605,12 +7587,6 @@
[HTMLTableCellElement interface: document.createElement("td") must inherit property "vAlign" with the proper type]
expected: FAIL
[HTMLTableCellElement must be primary interface of document.createElement("th")]
expected: FAIL
[Stringification of document.createElement("th")]
expected: FAIL
[HTMLTableCellElement interface: document.createElement("th") must inherit property "headers" with the proper type]
expected: FAIL

View file

@ -53,16 +53,3 @@
[Interfaces for SLOT]
expected: FAIL
[Interfaces for td]
expected: FAIL
[Interfaces for TD]
expected: FAIL
[Interfaces for th]
expected: FAIL
[Interfaces for TH]
expected: FAIL