Closed Bug 2087251 Opened 1 month ago Closed 17 days ago

[wpt-sync] Sync PR 64297 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=321088

Categories

(Core :: Layout: Text and Fonts, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 64297 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/64297
Details from upstream follow.

Alan Baradlay <zalan@apple.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=321088

WebKit export from bug: [<!---->block-<!---->in-<!---->inline]<!----> Trailing whitespace is not collapsed before a block nested in an inline box

<pre>
[block-in-inline] Trailing whitespace is not collapsed before a block nested in an inline box

isLastLineWithInlineContent() looks past the line's own content for more inline items to decide whether
this is the last line with inline content. A block level box is not "contentful" per
isContentfulOrHasDecoration(), which only accepts atomic inline level boxes and line breaks, so the scan
stepped straight over it, found the content after the block and concluded the line was not last.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=321088">https://bugs.webkit.org/show_bug.cgi?id=321088</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/318653@main">https://commits.webkit.org/318653@main</a>
</pre>

Component: web-platform-tests → Layout: Text and Fonts
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Chrome, and Safari on GitHub CI

Total 459 tests and 192 subtests

Status Summary

Firefox

OK : 29
PASS: 4[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 403[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 771[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 773[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: 10[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, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 68[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]

Chrome

OK : 1
PASS: 2
FAIL: 2

Safari

OK : 1
PASS: 2
FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 17 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.