[wpt-sync] Sync PR 64588 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326281
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox162 fixed)
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64588 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64588
Details from upstream follow.
Alan Baradlay <zalan@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326281
WebKit export from bug: [<!---->line-<!---->clamp]<!----> line-<!---->clamp:<!----> auto clamps inside a box with a set height
<pre>
[line-clamp] line-clamp: auto clamps inside a box with a set height<div style="line-clamp: auto; max-height: 6lh; white-space: pre">Line 1
Line 2
Line 3
Line 4
<div style="height: 3lh">Line 5
Line 6</div>Line 7</div>The block ellipsis should be on Line 4. The auto clamp point was after Line 6, since Lines 5 and 6 fit within max-height,
but the block keeps its 3lh height whatever its content, so clamping inside it does not make the line-clamp container
any shorter than clamping before it, and the container would still go past max-height.Now when a block of the line-clamp container that does not fit has a set height, or a min-height that does not fit, no
clamp point inside it is used, and the clamp point is before it (after Line 4).The test added as line-clamp-auto-063 is exported as line-clamp-auto-065, its name since <a href="https://commits.webkit.org/323995@main">https://commits.webkit.org/323995@main</a>, because web-platform-tests has a different line-clamp-auto-063. This includes 064's reference link fix from <a href="https://commits.webkit.org/325484@main.">https://commits.webkit.org/325484@main.</a>
WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=326281">https://bugs.webkit.org/show_bug.cgi?id=326281</a>
WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=327750">https://bugs.webkit.org/show_bug.cgi?id=327750</a>
WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=329806">https://bugs.webkit.org/show_bug.cgi?id=329806</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/322842@main">https://commits.webkit.org/322842@main</a>
</pre>
| Assignee | ||
Updated•12 days ago
|
| Assignee | ||
Updated•12 days ago
|
| Assignee | ||
Updated•12 days ago
|
| Assignee | ||
Updated•12 days ago
|
| Assignee | ||
Comment 1•12 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests
Status Summary
Firefox
FAIL: 2
Chrome
PASS: 2
Safari
PASS: 2
Links
Details
Firefox-only Failures
- /css/css-overflow/line-clamp/line-clamp-auto-064.html [wpt.fyi]:
FAIL - /css/css-overflow/line-clamp/line-clamp-auto-065.html [wpt.fyi]:
FAIL
New Tests That Don't Pass
- /css/css-overflow/line-clamp/line-clamp-auto-064.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:PASS) - /css/css-overflow/line-clamp/line-clamp-auto-065.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:PASS)
Comment 3•7 days ago
|
||
| bugherder | ||
Description
•