servo/components
Martin Robinson 55d094a871
script: Make stylesheets loaded via <link> elements block the rendering (#39536)
Stylesheets loaded via the `<link>` element should block the rendering
of the page according to the HTML specification [1]. This change makes
it so that they do this and, in addition, we do not take reftest
screenshots until all no element is blocking the rendering.

This change does not add support for the `blocking` attribute of
`<link>`, but that can be added in a follow change. In addition to
fixing a few tests, this change likely makes other tests no longer
intermittent. We will need to watch CI runs after this lands in order to
verify that though.

Testing: This change fixes at least two WPT tests.
Fixes: #26424.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-09-27 13:32:26 +00:00
..
allocator Moves to FxHashMap for Allocator, BHM, Canvas, Media, Servo, WebGL and WebGPU (#39202) 2025-09-08 16:06:03 +00:00
background_hang_monitor Use more workspace dependencies (#39404) 2025-09-20 06:01:59 +00:00
bluetooth Cargo.toml cleanup (#39403) 2025-09-20 03:09:37 +00:00
canvas Cargo.toml cleanup (#39403) 2025-09-20 03:09:37 +00:00
compositing webdriver: Wait animation frame callbacks before taking (element) screenshot (#39539) 2025-09-27 13:29:44 +00:00
config servoshell: Move touch event simulation to servoshell (#39352) 2025-09-23 07:00:11 +00:00
constellation script: Chain up keyboard scrolling to parent <iframe>s (#39469) 2025-09-25 11:16:41 +00:00
deny_public_fields Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
devtools Cargo.toml cleanup (#39403) 2025-09-20 03:09:37 +00:00
dom_struct script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
domobject_derive Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
fonts Cargo.toml cleanup (#39403) 2025-09-20 03:09:37 +00:00
geometry layout: Use FastTransform for hit testing (#38554) 2025-08-11 16:23:17 +00:00
hyper_serde Allow hyper_serde to only depend on serde_core for potentially faster compile times. (#39467) 2025-09-25 15:54:21 +00:00
jstraceable_derive Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
layout stylo: Add support for -webkit-fill-available sizing keyword (#39492) 2025-09-26 10:45:56 +00:00
malloc_size_of script: Chain up keyboard scrolling to parent <iframe>s (#39469) 2025-09-25 11:16:41 +00:00
media Cargo.toml cleanup (#39403) 2025-09-20 03:09:37 +00:00
metrics tidy: Add a rule ensuring that // comments are followed by a space in Rust (#38698) 2025-08-18 12:09:09 +00:00
net storage: Move shared functionality to base (#39419) 2025-09-22 13:59:36 +00:00
pixels layout: Convert animated image delays < 10ms into 100 ms delays (#39189) 2025-09-08 14:16:21 +00:00
profile allocator: Add optional heap allocation measurement tracking. (#38727) 2025-08-19 18:49:27 +00:00
rand Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
range Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
script script: Make stylesheets loaded via <link> elements block the rendering (#39536) 2025-09-27 13:32:26 +00:00
script_bindings Script: Remove last instances of Deref<str> and DerefMut<str> used for DOMString (#39504) 2025-09-27 01:48:24 +00:00
servo webdriver: Wait animation frame callbacks before taking (element) screenshot (#39539) 2025-09-27 13:29:44 +00:00
servo_tracing Cargo.toml cleanup (#39403) 2025-09-20 03:09:37 +00:00
shared webdriver: Elegantly handle "element screenshot" when bounding box has area zero (#39499) 2025-09-27 02:20:35 +00:00
timers cargo: Remove unused dependency (#38239) 2025-07-23 13:32:50 +00:00
url script: Do not include fragments when comparing URLs in CookieStore (#38876) 2025-08-27 23:41:11 +00:00
webdriver_server webdriver: Wait animation frame callbacks before taking (element) screenshot (#39539) 2025-09-27 13:29:44 +00:00
webgl Cargo.toml cleanup (#39403) 2025-09-20 03:09:37 +00:00
webgpu Cargo.toml cleanup (#39403) 2025-09-20 03:09:37 +00:00
webxr Cargo.toml cleanup (#39403) 2025-09-20 03:09:37 +00:00