Closed Bug 1958315 Opened 14 days ago Closed 10 days ago

[wpt-sync] Sync PR 51820 - [line-clamp] Allow displacing entire lines by the line-clamp ellipsis

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
139 Branch
Tracking Status
firefox139 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Andreu Botella <abotella@igalia.com> wrote:

[line-clamp] Allow displacing entire lines by the line-clamp ellipsis

The spec text for block-ellipsis says that if there is no break
opportunity in the text that would allow the text and the ellipsis to
fit in the line, the entire contents of the line must be displaced,
being replaced with the ellipsis. In that case, when line-breaking the
line, we rewind to the initial position without marking it as an empty
line.

Bug: 40336192
Change-Id: I5f13f61e5f1a586de9451fecd96500eedd5a1628
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6395136
Reviewed-by: Koji Ishii \<kojii@chromium.org>
Commit-Queue: Andreu Botella \<abotella@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1442000}

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 4 tests

Status Summary

Firefox

FAIL: 4

Chrome

FAIL: 4

Safari

FAIL: 4

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b821c3d713e3 [wpt PR 51820] - [line-clamp] Allow displacing entire lines by the line-clamp ellipsis, a=testonly https://hg.mozilla.org/integration/autoland/rev/01364ec908ac [wpt PR 51820] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 10 days ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
You need to log in before you can comment on or make changes to this bug.