[wpt-sync] Sync PR 64004 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327912
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox162 fixed)
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64004 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64004
Details from upstream follow.
Antti Koivisto <antti@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327912
WebKit export from bug: [<!---->SVG text]<!----> Enable the SVG 2 text layout algorithm by default
<pre>
[SVG text] Enable the SVG 2 text layout algorithm by defaultTurn on SVG2TextLayoutAlgorithmEnabled.
Test changes:
- svg/batik/text/xmlSpace.svg: a collapsible space that follows a preserved space is now kept, as
the line layout decides whitespace. This matches Chrome and Firefox.- svg/batik/text/textLayout.svg: spacingAndGlyphs with word-spacing now dumps the stretched
positions of each word instead of unstretched positions under a single transform. The rendering is
the same.- svg/batik/text/textLength.svg: spacingAndGlyphs with text-anchor now dumps the start of the
stretched text, for example 225 - 50 / 2 = 200 for textLength="50" at x="225", instead of the
unstretched anchored position under a transform. The rendering is the same.- svg/custom/glyph-transformation-with-hkern.svg, svg/text/font-size-below-point-five.svg,
svg/zoom/page/zoom-mask-with-percentages.svg: 0.01px width differences.- GTK and WPE: 1px text box size differences in svg/ text tests.
- WPT textLength-list-x-spacingAndGlyphs.svg: fix the test. It expected the explicit x positions to
move with the glyph stretching. That is wrong per spec, which applies absolute positions after
textLength, and Chrome and Firefox fail the test on wpt.fyi. The test and the reference now expect
each glyph to stretch in place at its x position. What the test is about, textLength applying
across the whole element instead of to each chunk (webkit.org/b/61855), is not affected.- mozilla/svg/text/textLength-5.svg and WPT textLength-list-y-spacing.svg now pass.
WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=327912">https://bugs.webkit.org/show_bug.cgi?id=327912</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/324088@main">https://commits.webkit.org/324088@main</a>
</pre>
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=110691
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 88 tests
Status Summary
Firefox
PASS: 1[GitHub] 2[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 66[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] 67[Gecko-windows11-64-25h2-debug] 68[Gecko-windows11-64-25h2-opt] 69[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 19[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 20[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 22[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]
Chrome
PASS: 1
Safari
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /svg/text/reftests/text-bidi-controls-anchors-2.svg [wpt.fyi]:
FAIL[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],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /svg/text/reftests/text-complex-001.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-complex-002.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-inline-size-001.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-inline-size-002.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-inline-size-003.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-inline-size-005.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-inline-size-006.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-inline-size-007.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-inline-size-101.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-inline-size-201.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-multiline-001.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-multiline-002.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-multiline-003.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-shape-inside-001.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-shape-inside-002.svg [wpt.fyi]:
FAIL - /svg/text/reftests/textpath-pathlength-css-display-none.tentative.svg [wpt.fyi]:
FAIL - /svg/text/reftests/textpath-pathlength-zero-offset-percentage.svg [wpt.fyi]:
FAIL - /svg/text/reftests/textpath-shape-001.svg [wpt.fyi]:
FAIL - /svg/text/reftests/textpath-side-001.svg [wpt.fyi]:
FAIL[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],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /svg/text/reftests/textpath-side-003.svg [wpt.fyi]:
FAIL[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-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt] - /svg/text/reftests/textpath-side-005.svg [wpt.fyi]:
FAIL - /svg/text/reftests/transform-dynamic-change.html [wpt.fyi]:
PASS[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-opt],SKIP[Gecko-windows11-64-25h2-debug]
Tests Disabled in Gecko Infrastructure
- /svg/text/reftests/transform-dynamic-change.html [wpt.fyi]:
PASS[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-opt],SKIP[Gecko-windows11-64-25h2-debug]
Comment 4•24 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/5aa7028ad48c
https://hg.mozilla.org/mozilla-central/rev/32d81db3dd12
Description
•