servo/tests/wpt/meta/html/canvas/element/manual/text
Martin Robinson cb64def7e6
canvas: Move font selection and text shaping to script (#38979)
Instead of doing font selection and text shaping in `canvas`, move this
to `script`. This allows canvas to use the shared `Document`
`FontContext`, which has access to web fonts. In addition, ensure that
there is a font style accessible for `OffscreenCanvas` in workers.

Testing: This causes a number of WPT tests to start to pass as web fonts
are
supported on canvas again. In addition, some start to fail as they
expose other
issues:
 - The lack of support for the `Context2D.fontStretch` property
 - Issues with zerosize gradient interpolation.
- Differences between quoted and unquoted font family names. This seems
like
a timing issue with the way we are handling web fonts. The test seems to
be
expecting Local fonts to be available immediately (without waiting for
them
to load). This isn't how Servo works ATM. Seems like an issue with the
test.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-08-28 10:30:34 +00:00
..
canvas.2d.direction.inherit.canvas.html.ini Update web-platform-tests to revision b'e5e7dab5e72edd352b17105acce2b8f443face10' (#35174) 2025-01-26 13:36:52 +00:00
canvas.2d.direction.inherit.disconnected.canvas.html.ini Update web-platform-tests to revision b'e5e7dab5e72edd352b17105acce2b8f443face10' (#35174) 2025-01-26 13:36:52 +00:00
canvas.2d.direction.inherit.document.html.ini Update web-platform-tests to revision b'e5e7dab5e72edd352b17105acce2b8f443face10' (#35174) 2025-01-26 13:36:52 +00:00
canvas.2d.direction.inherit.dynamic.canvas.html.ini Update web-platform-tests to revision b'1a5b13545ae58e468ed11e4c21912a3faf3355ea' (#35384) 2025-02-09 01:38:02 +00:00
canvas.2d.direction.inherit.style.html.ini Update web-platform-tests to revision b'e5e7dab5e72edd352b17105acce2b8f443face10' (#35174) 2025-01-26 13:36:52 +00:00
canvas.2d.disconnected.html.ini Sync WPT with upstream (24-08-2025) (#38893) 2025-08-24 01:41:18 +00:00
canvas.2d.fontStretch.condensed.html.ini canvas: Move font selection and text shaping to script (#38979) 2025-08-28 10:30:34 +00:00
canvas.2d.fontStretch.expanded.html.ini canvas: Move font selection and text shaping to script (#38979) 2025-08-28 10:30:34 +00:00
canvas.2d.fontStretch.extra-condensed.html.ini canvas: Move font selection and text shaping to script (#38979) 2025-08-28 10:30:34 +00:00
canvas.2d.fontStretch.extra-expanded.html.ini canvas: Move font selection and text shaping to script (#38979) 2025-08-28 10:30:34 +00:00
canvas.2d.fontStretch.semi-condensed.html.ini canvas: Move font selection and text shaping to script (#38979) 2025-08-28 10:30:34 +00:00
canvas.2d.fontStretch.semi-expanded.html.ini canvas: Move font selection and text shaping to script (#38979) 2025-08-28 10:30:34 +00:00
canvas.2d.fontStretch.ultra-condensed.html.ini canvas: Move font selection and text shaping to script (#38979) 2025-08-28 10:30:34 +00:00
canvas.2d.fontStretch.ultra-expanded.html.ini canvas: Move font selection and text shaping to script (#38979) 2025-08-28 10:30:34 +00:00
canvas.2d.lang.dynamic.html.ini canvas: Add vello backend (#36821) 2025-07-26 04:53:10 +00:00