servo/components/layout_2020/flexbox
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
..
construct.rs layout: Do whitespace collapse during breaking and shaping (#31322) 2024-02-13 23:08:00 +00:00
geom.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
layout.rs Fix size of tables in flow layout (#31455) 2024-03-02 01:39:41 +00:00
mod.rs remove extern crate (#30311) 2023-09-08 12:11:31 +00:00