Bug 197525

Summary: -webkit-line-clamp truncating line-height
Product: WebKit Reporter: Timothy Armstrong <timarmstrong>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bfulgham, gsnedders, mmaxfield, mockee, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari 12   
Hardware: Unspecified   
OS: Unspecified   

Timothy Armstrong
Reported 2019-05-02 12:11:06 PDT
* What steps will reproduce the problem? (1) Visit https://jsfiddle.net/4bzh2rv9/ (2) Click the toggle button so that the box can no longer contain two lines of text (and shows an ellipsis). (3) Note that as soon as the above condition is met, the height of the box decreases, instead of allowing for the appropriate amount of line-height. * What is the expected result? The div height should not change once the ellipsis is present. * What happens instead? The div height shrinks once the ellipsis is present. (See also: crbug.com/937931)
Attachments
Radar WebKit Bug Importer
Comment 1 2019-05-03 10:21:11 PDT
Sam Sneddon [:gsnedders]
Comment 2 2021-12-02 10:20:03 PST
*** This bug has been marked as a duplicate of bug 187938 ***
Note You need to log in before you can comment on or make changes to this bug.