[Webkit-unassigned] [Bug 197525] New: -webkit-line-clamp truncating line-height

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 2 12:11:06 PDT 2019


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

            Bug ID: 197525
           Summary: -webkit-line-clamp truncating line-height
           Product: WebKit
           Version: Safari 12
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: timarmstrong at google.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

* 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/20190502/1f6c878c/attachment.html>


More information about the webkit-unassigned mailing list