servo/components
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
..
allocator Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
background_hang_monitor Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
bluetooth api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
canvas prefs: Move some DebugOptions to Preferences and clean up (#34998) 2025-01-17 11:47:47 +00:00
compositing Implement Clipboard Event Api (#33576) 2025-01-15 19:45:29 +00:00
config Remove Preferences::network_tls_ignore_unexpected_eof (#35080) 2025-01-20 13:07:54 +00:00
constellation prefs: Move some DebugOptions to Preferences and clean up (#34998) 2025-01-17 11:47:47 +00:00
deny_public_fields Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
devtools api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
dom_struct script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
domobject_derive Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
fonts Fix building libservo with cargo build -p libservo (#35116) 2025-01-23 09:05:10 +00:00
geometry servoshell: Allow overriding screen resolution with a command-line argument (#34038) 2024-10-30 11:54:13 +00:00
hyper_serde Elide lifetimes where possible after rustup (#34824) 2025-01-03 18:54:44 +00:00
jstraceable_derive Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
layout layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
layout_2020 layout: simplify CollapsedBorderLine (#35125) 2025-01-23 12:38:24 +00:00
layout_thread layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
layout_thread_2020 layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
malloc_size_of script: Move the FontContext to Window (#34845) 2025-01-07 04:44:31 +00:00
media Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
metrics Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
net Remove Preferences::network_tls_ignore_unexpected_eof (#35080) 2025-01-20 13:07:54 +00:00
pixels Optimized unmultiply_inplace to remove fp ops (#33582) 2024-09-30 19:39:27 +00:00
profile script: Eliminate code duplication in the task queue (#34798) 2025-01-01 13:50:52 +00:00
rand crypto: Begin SubtleCrypto implementation (#33628) 2024-10-08 03:51:08 +00:00
range Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
script script: Avoid unwraps in DocumentOrShadowRoot::element_from_point. (#35130) 2025-01-23 03:04:56 +00:00
servo Add minimal libservo example using winit (#35118) 2025-01-23 12:15:53 +00:00
shared prefs: Move some DebugOptions to Preferences and clean up (#34998) 2025-01-17 11:47:47 +00:00
timers script: Make timers per-process (#34581) 2024-12-24 09:53:35 +00:00
url Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
webdriver_server webdriver: Serialize JS int values as i32. (#34997) 2025-01-15 08:15:37 +00:00
webgpu chore: Update wgpu and fix webgpu pref (#35020) 2025-01-16 14:42:47 +00:00