servo/components/layout_2020/table
Oriol Brufau 0cefee48e1
Fix table track constrainedness (#33550)
* Fix table track constraindness

Only as size that isn't `auto` and doesn't contain percentages can constrain
a table track (https://drafts.csswg.org/css-tables/#constrainedness).

However, in a bunch of cases we were only checking for `auto`.

Also, we were allowing the inline-size of a cell to constrain both its
column and row. Using the block-size of the row makes more sense.
The spec doesn't define constrainedness for rows, though.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>

* Apply suggestions from code review

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Signed-off-by: Oriol Brufau <obrufau@igalia.com>

---------

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-09-26 14:06:33 +00:00
..
construct.rs Do not remove extra columns at the end of the table (#33451) 2024-09-16 08:11:36 +00:00
layout.rs Fix table track constrainedness (#33550) 2024-09-26 14:06:33 +00:00
mod.rs fonts: Add support for generic font families and font size configuration (#32673) 2024-07-08 17:17:48 +00:00