[wpt-sync] Sync PR 64436 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=321398
Categories
(Core :: Layout, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64436 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64436
Details from upstream follow.
Alan Baradlay <zalan@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=321398
WebKit export from bug: [<!---->block-<!---->in-<!---->inline]<!----> A block level box on a line does not start a new paragraph for unicode-<!---->bidi:<!----> plaintext or text-<!---->indent:<!----> each-<!---->line
<pre>
[block-in-inline] A block level box on a line does not start a new paragraph for unicode-bidi: plaintext or text-indent: each-lineTwo properties ask whether the previous line ended a paragraph, and PreviousLine answered with nothing but
endsWithLineBreak.unicode-bidi: plaintext gives each unicode paragraph the base direction of its own first strong character.
buildBidiParagraph already counts a block level box as a paragraph separator, alongside a hard line break,
so the runs come back from ICU in the right order. The line's own base direction is decided separately in
inlineBaseDirectionForLineContent, where a line carrying a block level box does not count, so the line after
it takes the direction of the paragraph before the box rather than computing its own.text-indent with the each-line modifier indents the first line of the block and every line after a paragraph
end. computedTextIndent takes the same flag, so the line after a block level box is not indented either.An anonymous block hid both. One block per chunk meant each chunk was its own formatting context, resolving
its own direction from its own content and indenting its own first line. Firefox indents the line after a
block level box in both shapes, with and without an inline box around the box, which is what this matches.Fold the two questions into one: PreviousLine::endsParagraph, true for a forced line break and for a block
level box on a line, both of which are paragraph separators. computedTextIndent's parameter is named for
what it now takes.The text-wrap: balance path keeps its own per line record of forced breaks and is left alone here.
WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=321398">https://bugs.webkit.org/show_bug.cgi?id=321398</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/318886@main">https://commits.webkit.org/318886@main</a>
</pre>
| Assignee | ||
Updated•14 days ago
|
| Assignee | ||
Updated•10 days ago
|
| Assignee | ||
Updated•10 days ago
|
| Assignee | ||
Comment 1•10 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=116744
| Assignee | ||
Comment 2•10 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1277 tests and 3 subtests
Status Summary
Firefox
OK : 82
PASS: 2[GitHub] 15[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 393[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1542[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] 1545[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 1549[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 25[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 49[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 51[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 56[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
FAIL: 2
Safari
PASS: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-writing-modes/abs-pos-non-replaced-icb-vlr-021.xht [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],SKIP[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /css/css-writing-modes/abs-pos-non-replaced-icb-vrl-020.xht [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],SKIP[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /css/css-text/text-indent/below-float3.html [wpt.fyi]:
FAIL - /css/css-text/text-indent/text-indent-caret-001.html [wpt.fyi]:
FAIL - /css/css-text/text-indent/text-indent-with-absolute-pos-child.html [wpt.fyi]:
FAIL - /css/css-writing-modes/ch-units-vrl-007.html [wpt.fyi]:
FAIL - /css/css-writing-modes/ch-units-vrl-008.html [wpt.fyi]:
FAIL - /css/css-writing-modes/full-width-003.html [wpt.fyi]:
FAIL - /css/css-writing-modes/mongolian-orientation-001.html [wpt.fyi]:
FAIL[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-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-linux2404-64-debug,Gecko-linux2404-64-opt] - /css/css-writing-modes/mongolian-orientation-002.html [wpt.fyi]:
FAIL[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-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-linux2404-64-debug,Gecko-linux2404-64-opt] - /css/css-writing-modes/sizing-orthog-htb-in-vrl-001.xht [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] - /css/css-writing-modes/sizing-orthog-htb-in-vrl-004.xht [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] - /css/css-writing-modes/tcy-white-space-processing-001.html [wpt.fyi]:
FAIL - /css/css-writing-modes/text-combine-upright-value-all-001.html [wpt.fyi]:
FAIL - /css/css-writing-modes/text-combine-upright-value-digits2-001.html [wpt.fyi]:
FAIL - /css/css-writing-modes/text-combine-upright-value-digits2-002.html [wpt.fyi]:
FAIL - /css/css-writing-modes/text-combine-upright-value-digits3-001.html [wpt.fyi]:
FAIL - /css/css-writing-modes/text-combine-upright-value-digits3-002.html [wpt.fyi]:
FAIL - /css/css-writing-modes/text-combine-upright-value-digits4-001.html [wpt.fyi]:
FAIL - /css/css-writing-modes/text-combine-upright-value-digits4-002.html [wpt.fyi]:
FAIL - /css/css-writing-modes/text-shadow-sideways-001.html [wpt.fyi]:
FAIL - /css/css-writing-modes/vertical-alignment-vlr-023.xht [wpt.fyi]:
FAIL - /css/css-writing-modes/vertical-alignment-vlr-025.xht [wpt.fyi]:
FAIL - /css/css-writing-modes/vertical-alignment-vrl-022.xht [wpt.fyi]:
FAIL - /css/css-writing-modes/vertical-alignment-vrl-024.xht [wpt.fyi]:
FAIL - /css/css-writing-modes/wm-propagation-001.html [wpt.fyi]:
FAIL - /css/css-writing-modes/wm-propagation-body-042.html [wpt.fyi]:
FAIL - /css/css-writing-modes/wm-propagation-body-047.html [wpt.fyi]:
FAIL - /css/css-writing-modes/wm-propagation-body-049.html [wpt.fyi]:
FAIL - /css/css-writing-modes/wm-propagation-body-054.html [wpt.fyi]:
FAIL - /css/css-writing-modes/text-combine-upright-parsing-digits-001.html [wpt.fyi]
- Computed value for
text-combine-upright: digitsisdigits 2:FAIL - Computed value for
text-combine-upright: digits 2isdigits 2:FAIL - Computed value for
text-combine-upright: digits 3isdigits 3:FAIL - Computed value for
text-combine-upright: digits 4isdigits 4:FAIL - Computed value for
text-combine-upright: digits +2isdigits 2:FAIL - Computed value for
text-combine-upright: digits+3isdigits 3:FAIL - Computed value for
text-combine-upright: digits[TAB]4isdigits 4:FAIL - Computed value for
text-combine-upright: digits[LF]2isdigits 2:FAIL - Computed value for
text-combine-upright: digits [TAB]3isdigits 3:FAIL - Computed value for
text-combine-upright: digits[TAB][LF]4isdigits 4:FAIL
- Computed value for
- /css/css-writing-modes/text-combine-upright-parsing-digits-002.html [wpt.fyi]
- Computed value for
text-combine-upright: digits calc(1 + 1)isdigits 2:FAIL - Computed value for
text-combine-upright: digits calc(1 + 1 + 1)isdigits 3:FAIL - Computed value for
text-combine-upright: digits calc(2 + 2)isdigits 4:FAIL - Computed value for
text-combine-upright: digits calc(4 - 2)isdigits 2:FAIL - Computed value for
text-combine-upright: digits calc(6 - 3)isdigits 3:FAIL - Computed value for
text-combine-upright: digits calc(7 - 1 - 2)isdigits 4:FAIL - Computed value for
text-combine-upright: digits calc(2 * 1)isdigits 2:FAIL - Computed value for
text-combine-upright: digits calc(3 * 1)isdigits 3:FAIL - Computed value for
text-combine-upright: digits calc(2 * 2 * 1)isdigits 4:FAIL - Computed value for
text-combine-upright: digits calc(4 / 2)isdigits 2:FAIL - Computed value for
text-combine-upright: digits calc(6 / 2)isdigits 3:FAIL - Computed value for
text-combine-upright: digits calc(24 / 3 / 2)isdigits 4:FAIL
- Computed value for
- /css/css-writing-modes/forms/checkbox-switch-input-computed-style.tentative.html [wpt.fyi]
- horizontal-input block size should match height and inline size should match width:
FAIL - vertical-lr-input block size should match width and inline size should match height:
FAIL - vertical-rl-input block size should match width and inline size should match height:
FAIL
- horizontal-input block size should match height and inline size should match width:
- /css/css-writing-modes/forms/select-multiple-options-visual-order.html [wpt.fyi]
- select[multiple][style="writing-mode: horizontal-tb"] has visually correct option order:
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-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - select[multiple][style="writing-mode: vertical-lr"] has visually correct option order:
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-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - select[multiple][style="writing-mode: vertical-rl"] has visually correct option order:
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-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - select[multiple][style="writing-mode: sideways-lr"] has visually correct option order:
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-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - select[multiple][style="writing-mode: sideways-rl"] has visually correct option order:
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-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- select[multiple][style="writing-mode: horizontal-tb"] has visually correct option order:
Tests Disabled in Gecko Infrastructure
- /css/css-writing-modes/abs-pos-non-replaced-icb-vlr-021.xht [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],SKIP[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /css/css-writing-modes/abs-pos-non-replaced-icb-vrl-020.xht [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],SKIP[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
Comment 4•6 days ago
|
||
| bugherder | ||
Comment 5•6 days ago
|
||
| bugherder | ||
Description
•