mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
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:
commit
69e5243810
19 changed files with 42 additions and 191 deletions
|
@ -55,10 +55,9 @@ use dom::bindings::codegen::Bindings::HTMLSourceElementBinding;
|
|||
use dom::bindings::codegen::Bindings::HTMLSpanElementBinding;
|
||||
use dom::bindings::codegen::Bindings::HTMLStyleElementBinding;
|
||||
use dom::bindings::codegen::Bindings::HTMLTableCaptionElementBinding;
|
||||
use dom::bindings::codegen::Bindings::HTMLTableCellElementBinding;
|
||||
use dom::bindings::codegen::Bindings::HTMLTableColElementBinding;
|
||||
use dom::bindings::codegen::Bindings::HTMLTableDataCellElementBinding;
|
||||
use dom::bindings::codegen::Bindings::HTMLTableElementBinding;
|
||||
use dom::bindings::codegen::Bindings::HTMLTableHeaderCellElementBinding;
|
||||
use dom::bindings::codegen::Bindings::HTMLTableRowElementBinding;
|
||||
use dom::bindings::codegen::Bindings::HTMLTableSectionElementBinding;
|
||||
use dom::bindings::codegen::Bindings::HTMLTemplateElementBinding;
|
||||
|
@ -310,11 +309,11 @@ pub fn get_constructor_object_from_local_name(
|
|||
local_name!("sup") => get_constructor!(HTMLElementBinding),
|
||||
local_name!("table") => get_constructor!(HTMLTableElementBinding),
|
||||
local_name!("tbody") => get_constructor!(HTMLTableSectionElementBinding),
|
||||
local_name!("td") => get_constructor!(HTMLTableDataCellElementBinding),
|
||||
local_name!("td") => get_constructor!(HTMLTableCellElementBinding),
|
||||
local_name!("template") => get_constructor!(HTMLTemplateElementBinding),
|
||||
local_name!("textarea") => get_constructor!(HTMLTextAreaElementBinding),
|
||||
local_name!("tfoot") => get_constructor!(HTMLTableSectionElementBinding),
|
||||
local_name!("th") => get_constructor!(HTMLTableHeaderCellElementBinding),
|
||||
local_name!("th") => get_constructor!(HTMLTableCellElementBinding),
|
||||
local_name!("thead") => get_constructor!(HTMLTableSectionElementBinding),
|
||||
local_name!("time") => get_constructor!(HTMLTimeElementBinding),
|
||||
local_name!("title") => get_constructor!(HTMLTitleElementBinding),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue