servo/components/layout_2020/fragment_tree
Oriol Brufau 9b388da9cb
layout: Fix clientWidth & friends for tables (#35096)
`clientWidth` shouldn't include the borders of a box. The problem was
that we pretend that table wrapper boxes have the border specified on
the table element, even though this border actually applies to the
table grid box instead of the table wrapper box.

Therefore, `clientWidth` was wrong when it subtracted the borders.
This patch fixes it.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-01-20 17:18:20 +00:00
..
base_fragment.rs layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
box_fragment.rs layout: Fix clientWidth & friends for tables (#35096) 2025-01-20 17:18:20 +00:00
containing_block.rs layout: Make Fragment hold ArcRefCell inside (#34923) 2025-01-13 09:59:59 +00:00
fragment.rs layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
fragment_tree.rs layout: Fix clientWidth & friends for tables (#35096) 2025-01-20 17:18:20 +00:00
hoisted_shared_fragment.rs layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
mod.rs clippy: Fix warnings in components/layout_2020 (#31611) 2024-03-11 14:24:33 +00:00
positioning_fragment.rs layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00