[wpt-sync] Sync PR 63814 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=325449
Categories
(Core :: Layout: Text and Fonts, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63814 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63814
Details from upstream follow.
Alan Baradlay <zalan@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=325449
WebKit export from bug: [<!---->IFC]<!----> Justified line comes up short when its hanging trailing whitespace is inside an inline box
<pre>
[IFC] Justified line comes up short when its hanging trailing whitespace is inside an inline box<div style="width: 110px; font: 20px monospace; white-space: pre-wrap; text-align: justify"><span>aa bb cc </span>dd</div>
The spaces after "cc" hang at the end of the first line, so justification should only stretch the gaps
between the words. FontCascade spreads a run's expansion over every space in its text, so we split the
hanging spaces off into their own run, but only when they ended the very last run: with the </span> after
them they got stretched too and "cc" fell short of the right edge. Now we split them off the last text run.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=325449">https://bugs.webkit.org/show_bug.cgi?id=325449</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/322224@main">https://commits.webkit.org/322224@main</a>
</pre>
| 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=107277
| 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 457 tests and 192 subtests
Status Summary
Firefox
OK : 28
PASS: 1[GitHub] 4[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 401[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 768[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 770[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]
FAIL: 8[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 64[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] 66[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
Chrome
PASS: 1
Safari
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-text/white-space/break-spaces-008.html [wpt.fyi]:
FAIL - /css/css-text/white-space/break-spaces-051.html [wpt.fyi]:
FAIL - /css/css-text/white-space/break-spaces-052.html [wpt.fyi]:
FAIL - /css/css-text/white-space/break-spaces-before-first-char-004.html [wpt.fyi]:
FAIL - /css/css-text/white-space/break-spaces-before-first-char-005.html [wpt.fyi]:
FAIL - /css/css-text/white-space/break-spaces-before-first-char-006.html [wpt.fyi]:
FAIL - /css/css-text/white-space/break-spaces-before-first-char-015.html [wpt.fyi]:
FAIL - /css/css-text/white-space/control-chars-00C.html [wpt.fyi]:
FAIL - /css/css-text/white-space/control-chars-00D.html [wpt.fyi]:
FAIL - /css/css-text/white-space/eol-spaces-bidi-002.html [wpt.fyi]:
FAIL - /css/css-text/white-space/eol-spaces-bidi-003.html [wpt.fyi]:
FAIL - /css/css-text/white-space/eol-spaces-bidi-004.html [wpt.fyi]:
FAIL - /css/css-text/white-space/full-width-leading-spaces-004.html [wpt.fyi]:
FAIL - /css/css-text/white-space/hanging-whitespace-002.tentative.html [wpt.fyi]:
FAIL - /css/css-text/white-space/hanging-whitespace-003.tentative.html [wpt.fyi]:
FAIL - /css/css-text/white-space/hanging-whitespace-004.html [wpt.fyi]:
FAIL - /css/css-text/white-space/object-replacement-1.html [wpt.fyi]:
FAIL[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt],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-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /css/css-text/white-space/object-replacement-2.html [wpt.fyi]:
FAIL[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt],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-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /css/css-text/white-space/pre-line-051.html [wpt.fyi]:
FAIL - /css/css-text/white-space/pre-line-052.html [wpt.fyi]:
FAIL - /css/css-text/white-space/pre-line-with-space-and-newline.html [wpt.fyi]:
FAIL - /css/css-text/white-space/pre-wrap-008.html [wpt.fyi]:
FAIL - /css/css-text/white-space/pre-wrap-009.html [wpt.fyi]:
FAIL - /css/css-text/white-space/pre-wrap-051.html [wpt.fyi]:
FAIL - /css/css-text/white-space/pre-wrap-052.html [wpt.fyi]:
FAIL - /css/css-text/white-space/pre-wrap-tab-005.html [wpt.fyi]:
FAIL - /css/css-text/white-space/pre-wrap-tab-006.html [wpt.fyi]:
FAIL - /css/css-text/white-space/seg-break-transformation-018.tentative.html [wpt.fyi]:
FAIL - /css/css-text/white-space/seg-break-transformation-019.tentative.html [wpt.fyi]:
FAIL - /css/css-text/white-space/tab-bidi-001.html [wpt.fyi]:
FAIL - /css/css-text/white-space/text-wrap-balance-004.html [wpt.fyi]:
FAIL - /css/css-text/white-space/text-wrap-balance-line-clamp-002.html [wpt.fyi]:
FAIL - /css/css-text/white-space/text-wrap-balance-line-clamp-003.html [wpt.fyi]:
FAIL - /css/css-text/white-space/text-wrap-balance-line-clamp-004.html [wpt.fyi]:
FAIL - /css/css-text/white-space/text-wrap-balance-line-clamp-007.html [wpt.fyi]:
FAIL - /css/css-text/white-space/textarea-pre-wrap-012.html [wpt.fyi]:
FAIL - /css/css-text/white-space/trailing-ideographic-space-001.html [wpt.fyi]:
FAIL - /css/css-text/white-space/trailing-ideographic-space-002.html [wpt.fyi]:
FAIL - /css/css-text/white-space/trailing-ideographic-space-break-spaces-005.html [wpt.fyi]:
FAIL - /css/css-text/white-space/trailing-ideographic-space-break-spaces-006.html [wpt.fyi]:
FAIL - /css/css-text/white-space/trailing-other-space-separators-001.html [wpt.fyi]:
FAIL - /css/css-text/white-space/trailing-other-space-separators-002.html [wpt.fyi]:
FAIL - /css/css-text/white-space/trailing-other-space-separators-003.html [wpt.fyi]:
FAIL - /css/css-text/white-space/trailing-other-space-separators-004.html [wpt.fyi]:
FAIL - /css/css-text/white-space/white-space-collapse-discard-001.xht [wpt.fyi]:
FAIL - /css/css-text/white-space/white-space-collapse-preserve-breaks-001.xht [wpt.fyi]:
FAIL - /css/css-text/white-space/white-space-intrinsic-size-001.html [wpt.fyi]:
FAIL - /css/css-text/white-space/white-space-pre-051.html [wpt.fyi]:
FAIL - /css/css-text/white-space/white-space-pre-052.html [wpt.fyi]:
FAIL - /css/css-text/white-space/white-space-pre-wrap-justify-004.html [wpt.fyi]:
FAIL - /css/css-text/white-space/white-space-trim-discard-inner-001.xht [wpt.fyi]:
FAIL - /css/css-text/white-space/ws-break-spaces-applies-to-006.html [wpt.fyi]:
FAIL - /css/css-text/white-space/ws-break-spaces-applies-to-007.html [wpt.fyi]:
FAIL - /css/css-text/white-space/ws-break-spaces-applies-to-008.html [wpt.fyi]:
FAIL - /css/css-text/white-space/ws-break-spaces-applies-to-009.html [wpt.fyi]:
FAIL - /css/css-text/white-space/ws-break-spaces-applies-to-010.html [wpt.fyi]:
FAIL - /css/css-text/white-space/ws-break-spaces-applies-to-011.html [wpt.fyi]:
FAIL - /css/css-text/white-space/ws-break-spaces-applies-to-014.html [wpt.fyi]:
FAIL - /css/css-text/white-space/white-space-collapse-002.html [wpt.fyi]
- RLM 2:
FAIL - RLM 3:
FAIL - RLM 4:
FAIL - RLM 5:
FAIL
- RLM 2:
- /css/css-text/white-space/white-space-intrinsic-size-021.html [wpt.fyi]
- .container > div 23:
FAIL - .container > div 47:
FAIL - .container > div 63:
FAIL - .container > div 79:
FAIL
- .container > div 23:
Comment 4•27 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c72dfb3b31ee
https://hg.mozilla.org/mozilla-central/rev/f6813ca78c58
Description
•