servo/components/layout_2020/table
Oriol Brufau aa54a0b1a6
layout: simplify CollapsedBorderLine (#35125)
This used to be a struct that had a list of `CollapsedBorder`s, and the
maximum border width among that list.

However, this cached maximum border width was only used when resolving
the borders of the table. Therefore, for all grid lines except the first
and last ones per axis, this data was useless.

Also, in order to address #35123 I plan to retroactively zero out some
collapsed borders, which could invalidate this cache.

So this patch just removes the field and turns `CollapsedBorderLine`
into an alias of `Vec<CollapsedBorder>`.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-01-23 12:38:24 +00:00
..
construct.rs Elide lifetimes where possible after rustup (#34824) 2025-01-03 18:54:44 +00:00
layout.rs layout: simplify CollapsedBorderLine (#35125) 2025-01-23 12:38:24 +00:00
mod.rs layout: simplify CollapsedBorderLine (#35125) 2025-01-23 12:38:24 +00:00