Closed Bug 2077695 Opened 1 month ago Closed 1 month ago

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

Categories

(Core :: Layout: Scrolling and Overflow, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Alan Baradlay <zalan@apple.com> wrote:

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

WebKit export from bug: [line-clamp] Keep nothing but the block ellipsis on a fully displaced line

<pre>
[line-clamp] Keep nothing but the block ellipsis on a fully displaced line

<div style="line-clamp: 2">first line <span style="font-size: 2em">unbreakable_content</span> after</div>

When the block ellipsis displaces all the content of the clamped line, the inline box start (and any float or
out-of-flow box placed before the content) stayed on that line, and inline boxes made the line taller.
Now the line reverts to its start, so everything moves to the next line with the content, and only the root
inline box strut sizes the line (open inline boxes keep their fragment but don't stretch it).
<a href="https://drafts.csswg.org/css-overflow-4/#block-ellipsis">https://drafts.csswg.org/css-overflow-4/#block-ellipsis</a>

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

Component: web-platform-tests → Layout: Scrolling and Overflow
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central

Total 304 tests

Status Summary

Firefox

OK : 1
PASS: 9[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 11[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 199[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] 200[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 202[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 103[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 105[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 106[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]

Links

Gecko CI (Treeherder)

Details

New Tests That Don't Pass

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