[wpt-sync] Sync PR 44748 - [line-clamp] Implement the line-clamp CSS property
Categories
(Core :: Layout: Scrolling and Overflow, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox126 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 44748 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/44748
Details from upstream follow.
Andreu Botella <abotella@igalia.com> wrote:
[line-clamp] Implement the line-clamp CSS property
This patch adds the
line-clampproperty, as well as the
CSSLineClampBlink feature. It also makes in-flow inline and block
elements after the clamp point hidden for paint in bothline-clamp
and-webkit-line-clampwhen that feature is enabled, reusing some
existing machinery for table cells.This patch does not yet handle hiding out of flow boxes, or
height-based clamping. That is left for follow-up CLs.Since
-webkit-line-clampandline-clampwould usually generate the
sameComputedStyle::LineClampmethod, we instead give those methods
the custom namesWebkitLineClampandStandardLineClamp, and reuse
the existing method namesLineClampandHasLineClampfor custom
methods that take both properties into account.Bug: 40336192
Change-Id: Ic7d0cf6f218b45bd2b7aa5bdd26adaeff9d492db
Reviewed-on: https://chromium-review.googlesource.com/5317993
WPT-Export-Revision: 083ef21e6f29b078e29c1bc8b512e74396de013c
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 8 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 19 tests
Status Summary
Firefox
PASS: 3
FAIL: 16
Chrome
PASS: 3
FAIL: 16
Safari
PASS: 3
FAIL: 16
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-overflow/line-clamp-001.tentative.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-overflow/line-clamp-004.tentative.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-overflow/line-clamp-005.tentative.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-overflow/line-clamp-006.tentative.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-overflow/line-clamp-007.tentative.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-overflow/line-clamp-008.tentative.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-overflow/line-clamp-009.tentative.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-overflow/line-clamp-010.tentative.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-overflow/line-clamp-011.tentative.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-overflow/line-clamp-012.tentative.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-overflow/line-clamp-013.tentative.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-overflow/line-clamp-015.tentative.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-overflow/line-clamp-016.tentative.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-overflow/line-clamp-017.tentative.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-overflow/line-clamp-018.tentative.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-overflow/line-clamp-019.tentative.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL)
Comment 4•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/1a01893fd3c1
https://hg.mozilla.org/mozilla-central/rev/362be167a23d
Description
•