servo/components/canvas
Martin Robinson e5c328d660
canvas: Don't do operations on paths with uninvertible transforms (#37551)
When the path is created with an uninvertible transform, don't do any
path-based operations. Now `ensure_path()` returns a `Path` object and
this change adds early returns which prevent trying to use it.

Testing: This change adds a WPT crash test.
Fixes #36995.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-06-19 10:48:20 +00:00
..
backend.rs canvas: Use Cow<[u8]> for bytes() getter (#37249) 2025-06-04 15:16:28 +00:00
canvas_data.rs canvas: Don't do operations on paths with uninvertible transforms (#37551) 2025-06-19 10:48:20 +00:00
canvas_paint_thread.rs Change canvas/context/snapshot size from u64 -> u32 (#36827) 2025-06-07 14:37:21 +00:00
Cargo.toml Removing unused dependencies in crates. (#37096) 2025-05-23 12:58:00 +00:00
lib.rs Use backend trait with associated types for 2d canvas backends abstraction (#36783) 2025-05-01 04:16:23 +00:00
raqote_backend.rs canvas: ensure there is a subpath in PathBuilderRef (#37251) 2025-06-05 02:47:37 +00:00