[Webkit-unassigned] [Bug 187938] Height of element changes when ellipses show on a -webkit-line-clamp element with line-height

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 2 10:20:36 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=187938

--- Comment #2 from Sam Sneddon [:gsnedders] <gsnedders at apple.com> ---
>From the dupe:

(In reply to Timothy Armstrong from comment #0)
> * 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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211202/28006371/attachment.htm>


More information about the webkit-unassigned mailing list