minghuaw
75a56e567b
layout: Do not trigger dirty_all_nodes when web font loading fails ( #43595 )
...
Currently, the `web_font_finished_loading_callback` sends a
`ScriptThreadMessage::WebFontLoaded` message regardless of whether web
font loading succeeds or not, which leads to dirtying all nodes in
`script_thread.rs`. This creates unnecessary reflow. This PR removes the
boolean field from the `WebFontLoaded` message and only sends the
message when the web font loading is successful.
Testing: Existing WPT tests
Signed-off-by: Minghua Wu <michael.wu1107@gmail.com >
2026-03-24 08:03:30 +00:00
..
2025-03-28 10:23:41 +00:00
2026-03-24 05:28:27 +00:00
2026-03-23 08:26:49 +00:00
2025-11-08 19:57:59 +00:00
2026-03-23 08:26:49 +00:00
2026-03-23 08:26:49 +00:00
2025-04-08 19:22:24 +00:00
2026-03-23 08:39:53 +00:00
2026-03-23 08:26:49 +00:00
2025-12-31 06:27:52 +00:00
2026-03-23 17:00:23 +00:00
2026-03-23 08:26:49 +00:00
2026-02-25 07:14:23 +00:00
2026-01-03 10:54:27 +00:00
2026-03-23 08:26:49 +00:00
2026-03-23 08:26:49 +00:00
2026-01-28 14:07:27 +00:00
2026-03-18 16:09:41 +00:00
2025-11-08 14:27:35 +00:00
2026-03-20 15:31:46 +00:00
2026-03-14 19:43:24 +00:00
2026-03-06 20:02:37 +00:00
2026-03-24 08:03:30 +00:00
2026-03-23 08:26:49 +00:00
2025-10-17 08:48:23 +00:00
2026-03-24 05:28:27 +00:00
2026-03-23 08:26:49 +00:00
2026-03-20 15:31:46 +00:00
2025-12-30 18:19:41 +00:00
2026-03-23 08:26:49 +00:00
2026-03-24 05:28:27 +00:00
2025-11-13 19:14:30 +00:00
2026-03-22 05:39:42 +00:00
2026-03-24 08:03:30 +00:00
2026-03-23 08:26:49 +00:00
2026-03-23 14:18:25 +00:00
2026-03-23 08:26:49 +00:00
2026-03-10 21:08:29 +00:00
2026-03-23 08:26:49 +00:00
2026-03-23 08:26:49 +00:00
2026-03-23 08:26:49 +00:00
2026-01-08 07:49:27 +00:00
2026-02-26 11:52:36 +00:00
2026-03-23 08:26:49 +00:00
2026-03-23 08:26:49 +00:00
2025-10-09 18:18:03 +00:00
2026-03-23 08:26:49 +00:00
2025-11-06 12:31:48 +00:00
2025-11-20 06:20:47 +00:00