Open
Bug 2057345
Opened 1 month ago
Updated 1 month ago
`text-overflow` ignored when `line-clamp` is set
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
NEW
People
(Reporter: dshin, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: css-line-clamp)
Attachments
(1 file)
|
699 bytes,
text/html
|
Details |
Fell out of bug 2043002 not passing line-clamp-auto-010.html but issue seems more general, as seen in the testcase.
The testcase clamps from 3 lines to 2, but the first line should have text-overflow applied.
Interestingly WebKit agrees unless line-clamp: auto is set, which just seems inconsistent.
I imagine this needs to get expanded.
Should be noted that Blink also clamps the last line differently from Gecko and WebKit, by displacing the entire word. Spec says this is done as if by soft-wrapping, which I think makes Chrome more correct?
| Reporter | ||
Comment 1•1 month ago
|
||
Comment indicates that this behaviour was deliberate, FWIW.
You need to log in
before you can comment on or make changes to this bug.
Description
•