servo/components
Oriol Brufau 02c10fc502
layout: Refine the check for dependending on available space (#34907)
When laying out a block-level box that avoids floats, if we know that
its size doesn't depend on the available space, we can take a fast path
and only lay it out once. If its size depends on the available space,
we may have to lay it out multiple times, which can be slower.

This patch improves the check for this dependency on the available space.
For example, `min-width: 200px; width: 100px; max-width: stretch` was
previously considered to depend on the available space because of
`max-width`. However, `max-width` is irrelevant when the min size is
greater than the preferred size.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-01-08 18:22:01 +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 Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
canvas Add initial support for WebGL 2 BlitFramebuffer (#26389) 2025-01-06 18:37:35 +00:00
compositing Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
config webxr: create glwindow with Rc window and without rendering context (#34813) 2025-01-03 03:01:30 +00:00
config_plugins add allow(non_camel_case_types) to generated pref structs (#33987) 2024-10-24 09:36:13 +00:00
constellation Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
deny_public_fields Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
devtools Support syntax highlighting of arguments in the devtools console (#34810) 2025-01-02 18:47:52 +00:00
dom_struct Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
domobject_derive Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
fonts Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +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 Elide lifetimes where possible after rustup (#34824) 2025-01-03 18:54:44 +00:00
layout_2020 layout: Refine the check for dependending on available space (#34907) 2025-01-08 18:22:01 +00:00
layout_thread script: Move the FontContext to Window (#34845) 2025-01-07 04:44:31 +00:00
layout_thread_2020 script: Move the FontContext to Window (#34845) 2025-01-07 04:44:31 +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 Update all network-related dependencies to the latest versions (#34630) 2025-01-08 05:47:58 +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 Consider shadow dom when dispatching events (#34788) 2025-01-07 21:22:16 +00:00
servo Fix building with feature=tracing (#34815) 2025-01-03 05:29:07 +00:00
shared Update all network-related dependencies to the latest versions (#34630) 2025-01-08 05:47:58 +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 Update all network-related dependencies to the latest versions (#34630) 2025-01-08 05:47:58 +00:00
webgpu Update wgpu for supporting TextureView.usage (#34721) 2024-12-21 05:18:27 +00:00