Closed Bug 2043002 Opened 3 months ago Closed 3 days ago

Implement the automatic, container size based line clamping for `line-clamp` longhand

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement
Points:
3

Tracking

()

RESOLVED FIXED
157 Branch
Tracking Status
firefox157 --- fixed

People

(Reporter: dshin, Assigned: salipov)

References

(Blocks 4 open bugs)

Details

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

Attachments

(1 file, 2 obsolete files)

line-clamp: auto;
line-clamp: ellipsis;

etc.

Number of lines clamped depend on the block size of the container.

Should also be noted that line-clamp: 3 auto; is possible, and basically fits min(# lines specified, # lines fitting in block size)

Points: --- → 3
Whiteboard: css-line-clamp
Assignee: nobody → salipov
See Also: → 2057345
Attachment #9615389 - Attachment is obsolete: true
Blocks: 2066625
Blocks: 2066627
Blocks: 2043003
Attachment #9615239 - Attachment is obsolete: true
Pushed by salipov@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/51cdaf975231 https://hg.mozilla.org/integration/autoland/rev/26e37107acc7 Implement the automatic, container size based line clamping for css line-clamp. r=layout-reviewers,dshin
Pushed by asilaghi@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/4bce60375c95 https://hg.mozilla.org/integration/autoland/rev/d25060c40d55 Revert "Bug 2043002: Implement the automatic, container size based line clamping for css line-clamp. r=layout-reviewers,dshin" for causing wr tests failures at line-clamp

Backed out for causing wr tests failures at line-clamp
Backout Link
Push with failures
Failure Log
Failure line TEST-UNEXPECTED-PASS | /css/css-overflow/line-clamp/line-clamp-auto-041.html | Testing http://web-platform.test:8000/css/css-overflow/line-clamp/line-clamp-auto-041.html == http://web-platform.test:8000/css/css-overflow/line-clamp/reference/line-clamp-auto-041-ref.html

Flags: needinfo?(salipov)
Flags: needinfo?(salipov)
Pushed by salipov@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/c5b375897eb7 https://hg.mozilla.org/integration/autoland/rev/ff81e32338c5 Implement the automatic, container size based line clamping for css line-clamp. r=layout-reviewers,dshin
Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/31ff9ec4b3dd https://hg.mozilla.org/integration/autoland/rev/df6015b6cfa2 Revert "Bug 2043002: Implement the automatic, container size based line clamping for css line-clamp. r=layout-reviewers,dshin for causing wpt failures @ TEST-UNEXPECTED-FAIL | /css/css-overflow/line-clamp/line-clamp-balance-005.html
Pushed by salipov@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/56b246655ff3 https://hg.mozilla.org/integration/autoland/rev/8543d929ffe6 Implement the automatic, container size based line clamping for css line-clamp. r=layout-reviewers,dshin
Flags: needinfo?(salipov)

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

Whiteboard: css-line-clamp → css-line-clamp, [wptsync upstream]
Status: NEW → RESOLVED
Closed: 3 days ago
Resolution: --- → FIXED
Target Milestone: --- → 157 Branch

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: