Closed Bug 2042999 Opened 1 month ago Closed 2 days ago

Enable non-legacy line-clamp to work without special values

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement
Points:
1

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: dshin, Assigned: salipov)

References

(Blocks 1 open bug)

Details

(Whiteboard: css-line-clamp, [wptsync upstream])

Attachments

(1 file)

... Unlike -webkit-line-clamp, this should not depend on display: -webkit-box | -webkit-inline-box and -webkit-box-orient.
For the purposes of incremental work, we're going to ignore custom/no ellipsis values here.

Points: --- → 1
Whiteboard: css-line-clamp
Assignee: nobody → salipov

Additional note, this part also needs to be rejiggered a bit here.
Namely, line-clamp container establishes an independent block formatting context. We need to make sure the above part of the code activates for non-legacy line-clamp, which likely involves avoiding this part if not legacy.

Pushed by salipov@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/4f7b9ecf4798 https://hg.mozilla.org/integration/autoland/rev/b6a49af97329 Enable non-legacy line-clamp to work without special values. r=firefox-style-system-reviewers,layout-reviewers,dshin,AlaskanEmily
Pushed by pstanciu@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f82f166dffa5 https://hg.mozilla.org/integration/autoland/rev/d14517bb7466 Revert "Bug 2042999: Enable non-legacy line-clamp to work without special values. r=firefox-style-system-reviewers,layout-reviewers,dshin,AlaskanEmily" for causing wr failures @ line-clamp-026.html
Flags: needinfo?(salipov)

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/61384 for changes under testing/web-platform/tests

Whiteboard: css-line-clamp → css-line-clamp, [wptsync upstream]

Upstream PR was closed without merging

The test was failing on some platforms due to fuzz with text rendering. I have added a tolerance to this test.

Flags: needinfo?(salipov)
Pushed by salipov@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0e084adab846 https://hg.mozilla.org/integration/autoland/rev/fa790382d48a Enable non-legacy line-clamp to work without special values. r=firefox-style-system-reviewers,layout-reviewers,dshin,AlaskanEmily
Status: NEW → RESOLVED
Closed: 2 days ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch

Upstream PR merged by moz-wptsync-bot

Upstream PR merged by moz-wptsync-bot

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: