[wpt-sync] Sync PR 62815 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=324242
Categories
(Core :: SVG, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62815 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62815
Details from upstream follow.
Karl Dubost <k_dubost@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=324242
WebKit export from bug: getComputedTextLength() and the character-position methods ignore lengthAdjust="spacingAndGlyphs"
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=94528
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 27 tests
Status Summary
Firefox
OK : 1[GitHub] 26[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-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 2[GitHub] 96[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-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 5[GitHub] 9[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-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
OK : 1
PASS: 2
FAIL: 5
Safari
OK : 1
PASS: 2
FAIL: 5
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /svg/text/scripted/getcharnumatposition-slr.tentative.html [wpt.fyi]
- sideways-lr:
FAIL
- sideways-lr:
- /svg/text/scripted/lengthadjust-char-positions.html [wpt.fyi]
- control: without textLength the advances are one em each:
FAIL(Chrome:FAIL, Safari:FAIL) - lengthAdjust="spacing" moves the characters apart and leaves each advance alone:
FAIL(Chrome:FAIL, Safari:FAIL) - lengthAdjust="spacingAndGlyphs" scales the advances, the positions and the extents:
FAIL(Chrome:FAIL, Safari:FAIL) - getSubStringLength sums the scaled advances under lengthAdjust="spacingAndGlyphs":
FAIL(Chrome:FAIL, Safari:FAIL) - getCharNumAtPosition finds the stretched characters under lengthAdjust="spacingAndGlyphs":
FAIL(Chrome:FAIL, Safari:FAIL)
- control: without textLength the advances are one em each:
- /svg/text/scripted/textpath-pathlength-zero-startoffset.html [wpt.fyi]
- a percentage startOffset is unaffected by pathLength="0":
FAIL - pathLength="0" places a percentage startOffset where no pathLength would:
FAIL
- a percentage startOffset is unaffected by pathLength="0":
- /svg/text/scripted/textpath-textlength-text-anchor-001.tentative.svg [wpt.fyi]
- 'textLength' on <textPath> with 'text-anchor' adjustments:
FAIL
- 'textLength' on <textPath> with 'text-anchor' adjustments:
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/8b8957cd0f21
https://hg.mozilla.org/mozilla-central/rev/f061e9392e6c
Description
•