Closed Bug 2092760 Opened 17 days ago Closed 12 days ago

[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)

task

Tracking

()

RESOLVED FIXED
162 Branch
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>

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

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

GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

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