Files
servo/tests/wpt/meta/css/css-tables/tentative/table-fixed-minmax.html.ini
Oriol Brufau 50fdb82246 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>
2024-03-02 01:39:41 +00:00

19 lines
582 B
INI

[table-fixed-minmax.html]
[table's width inside flexbox width:auto is not infinite]
expected: FAIL
[table's width inside flexbox width:max-content is infinite]
expected: FAIL
[table's width inside flexbox width:min-content is infinite, but the flexbox is finite; scenario 1]
expected: FAIL
[table's width inside flexbox width:min-content is infinite, but the flexbox is finite; scenario 2]
expected: FAIL
[table's width inside grid width:max-content is infinite]
expected: FAIL
[table's width inside a table cell is infinite]
expected: FAIL