[wpt-sync] Sync PR 64605 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=325454
Categories
(Core :: Layout: Scrolling and Overflow, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64605 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64605
Details from upstream follow.
Alan Baradlay <zalan@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=325454
WebKit export from bug: [<!---->line-<!---->clamp]<!----> line-<!---->clamp on a float or an absolutely positioned box is ignored
<pre>
[line-clamp] line-clamp on a float or an absolutely positioned box is ignored<div style="position: absolute; width: 100px; line-clamp: 1">first line second line</div>
The box should show one line with an ellipsis. LineClampUpdater keeps the clamp of the containing block out of
floats and out-of-flow boxes, but it also returned before looking at the box's own max-lines, so the box never
clamped. Now it clamps its own content, and its lines still do not count towards an outer clamp since it
establishes an independent formatting context.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=325454">https://bugs.webkit.org/show_bug.cgi?id=325454</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/322551@main">https://commits.webkit.org/322551@main</a>
</pre>
| Assignee | ||
Updated•17 days ago
|
| Assignee | ||
Updated•17 days ago
|
| Assignee | ||
Updated•16 days ago
|
| Assignee | ||
Comment 1•16 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=119855
| Assignee | ||
Comment 2•16 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
FAIL: 1
Chrome
PASS: 1
Safari
PASS: 1
Links
Details
Firefox-only Failures
New Tests That Don't Pass
- /css/css-overflow/line-clamp/block-ellipsis-018.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:PASS)
Comment 4•12 days ago
|
||
| bugherder | ||
Description
•