servo/components
Martin Robinson 6b04bc6263
layout: Take percentage columns into account when sizing table grid min and max (#35167)
The specification doesn't say how to deal with percentages when
determining the minimum and maximum size of a table grid, so follow the
approach that Chromium uses.

Essentially, figure out the "missing" percentage from the non-percentage
columns and then use that to work backwards to fine the size of the
percentage ones.

This change is larger than one might expect, because this percentage
approach shouldn't happen for tables that are descendants of a flex,
grid or table container (except when there is an interceding absolute).
We have to pass this information down when building the box tree. This
will also make it easier to improve propagated text decorations in the
future.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2025-01-27 15:04:37 +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 feat: Turn RenderingContext into a trait (#35052) 2025-01-24 02:39:39 +00:00
compositing libservo: Add an initial WebView data structure to the API (#35119) 2025-01-25 08:17:50 +00:00
config Remove Preferences::network_tls_ignore_unexpected_eof (#35080) 2025-01-20 13:07:54 +00:00
constellation libservo: Add an initial WebView data structure to the API (#35119) 2025-01-25 08:17:50 +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 some clippy issues on the Android build (#35147) 2025-01-23 15:18:58 +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 script: Do not set up an IPC route for every image load (#35041) 2025-01-25 09:39:04 +00:00
layout_2020 layout: Take percentage columns into account when sizing table grid min and max (#35167) 2025-01-27 15:04:37 +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: Do not set up an IPC route for every image load (#35041) 2025-01-25 09:39:04 +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 script: Do not set up an IPC route for every image load (#35041) 2025-01-25 09:39:04 +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 Fire slot change events when the slot content changes (#35137) 2025-01-27 14:13:22 +00:00
script_bindings Fire slot change events when the slot content changes (#35137) 2025-01-27 14:13:22 +00:00
servo libservo: Add an initial WebView data structure to the API (#35119) 2025-01-25 08:17:50 +00:00
shared script: Do not set up an IPC route for every image load (#35041) 2025-01-25 09:39:04 +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