[wpt-sync] Sync PR 60200 - font: Properly handle when shaping produces no glyphs
Categories
(Core :: Layout: Text and Fonts, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox153 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 60200 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/60200
Details from upstream follow.
Martin Robinson <mrobinson@igalia.com> wrote:
font: Properly handle when shaping produces no glyphs
When shaping produces no glyphs, which can happen when a zero-width
space is shaped for a font that has no space or zero-width space glyph,
just return an emptyShapedTextinstead of trying to process any
glyphs. This prevents logic issues due to the rest of the code assuming
there are glyphs.Testing: This change adds a new WPT crash test.
Fixes: #<!-- nolink -->45174.Reviewed in servo/servo#45176
| Assignee | ||
Updated•17 days ago
|
| Assignee | ||
Comment 1•5 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=63f53b0e6758a119cae3dbdce8055259dd4e9171
| Assignee | ||
Comment 2•5 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 46 tests
Status Summary
Firefox
PASS: 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, GitHub] 34[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 12
Chrome
PASS: 1
Safari
PASS: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-text/shaping/shaping-000.html [wpt.fyi]:
FAIL - /css/css-text/shaping/shaping-002.html [wpt.fyi]:
FAIL - /css/css-text/shaping/shaping-003.html [wpt.fyi]:
FAIL - /css/css-text/shaping/shaping-004.html [wpt.fyi]:
FAIL - /css/css-text/shaping/shaping-005.html [wpt.fyi]:
FAIL - /css/css-text/shaping/shaping-006.html [wpt.fyi]:
FAIL - /css/css-text/shaping/shaping-007.html [wpt.fyi]:
FAIL - /css/css-text/shaping/shaping-008.html [wpt.fyi]:
FAIL - /css/css-text/shaping/shaping-017.html [wpt.fyi]:
FAIL - /css/css-text/shaping/shaping-018.html [wpt.fyi]:
FAIL - /css/css-text/shaping/shaping-021.html [wpt.fyi]:
FAIL - /css/css-text/shaping/shaping-024.html [wpt.fyi]:
FAIL
Comment 4•2 days ago
|
||
| bugherder | ||
Description
•