servo/components/layout_2020/table
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
..
construct.rs Elide lifetimes where possible after rustup (#34824) 2025-01-03 18:54:44 +00:00
layout.rs layout: Fix clientWidth & friends for tables (#35096) 2025-01-20 17:18:20 +00:00
mod.rs layout: Fix clientWidth & friends for tables (#35096) 2025-01-20 17:18:20 +00:00