mirror of
https://github.com/servo/servo.git
synced 2025-08-17 11:25:35 +01:00
Do not remove extra columns at the end of the table (#33451)
<col> and <colgroup> elements can be used to create extra columns that have no cell. We were removing these columns and column groups, but in general we shouldn't do that. Now we will only remove them if the table has no row nor row group. matching WebKit and the expectations of some tests. But note that Gecko and Blink never remove them. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
17f796dfc1
commit
679afe5195
6 changed files with 23 additions and 43 deletions
|
@ -5,10 +5,13 @@
|
|||
[main table 4]
|
||||
expected: FAIL
|
||||
|
||||
[main table 10]
|
||||
[main table 6]
|
||||
expected: FAIL
|
||||
|
||||
[main table 11]
|
||||
[main table 7]
|
||||
expected: FAIL
|
||||
|
||||
[main table 8]
|
||||
expected: FAIL
|
||||
|
||||
[main table 12]
|
||||
|
@ -19,3 +22,6 @@
|
|||
|
||||
[main table 3]
|
||||
expected: FAIL
|
||||
|
||||
[main table 13]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
[html5-table-formatting-1.html]
|
||||
[Table-columns are taken into account after missing cells are generated (empty line)]
|
||||
expected: FAIL
|
||||
|
||||
[Table-columns are taken into account after missing cells are generated (partially empty line)]
|
||||
expected: FAIL
|
||||
|
||||
[Empty tables do not take table-rows into account]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
[html5-table-formatting-2.html]
|
||||
[Explicitely defined columns are not merged]
|
||||
expected: FAIL
|
||||
|
||||
[Border-spacing is added between any two unmerged columns (1)]
|
||||
expected: FAIL
|
||||
|
||||
[Border-spacing is added between any two unmerged columns (5)]
|
||||
expected: FAIL
|
|
@ -11,9 +11,6 @@
|
|||
[Replaced elements inside a table cannot be table-row and are considered inline -- input elements (top)]
|
||||
expected: FAIL
|
||||
|
||||
[Replaced elements inside a table cannot be table-column and are considered inline -- input elements (top)]
|
||||
expected: FAIL
|
||||
|
||||
[Replaced elements outside a table cannot be table-row and are considered inline -- input=file elements]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue