mirror of
https://github.com/servo/servo
synced 2026-04-30 11:27:28 +02:00
Fix size of tables in flow layout (#31455)
* Fix size of tables in flow layout The contents of a table can make it bigger than what we would expect from its 'width', 'min-width', 'height' and ' min-height' properties. Also, 'width: auto' doesn't stretch it to fill the containing block. We had to refactor the resolution of margins to happen after layout, otherwise 'auto' margins wouldn't align correctly. Co-authored-by: Martin Robinson <mrobinson@igalia.com> * Feedback * Consistently use `containing_block_for_table` in table layout * Update test result --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
@@ -1,13 +1,7 @@
|
||||
[html5-table-formatting-3.html]
|
||||
[Control test for table-cell padding and border-spacing, etc (width)]
|
||||
expected: FAIL
|
||||
|
||||
[Anonymous consecutive columns spanned by the same set of cells are merged]
|
||||
expected: FAIL
|
||||
|
||||
[Explicitely-defined consecutive columns spanned by the same set of cells are not merged]
|
||||
expected: FAIL
|
||||
|
||||
[Explicitely-defined consecutive columns spanned by the same set of cells are not merged, and cells span across border-spacing]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user