[Webkit-unassigned] [Bug 187938] New: 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
Mon Jul 23 19:13:17 PDT 2018


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

            Bug ID: 187938
           Summary: Height of element changes when ellipses show on a
                    -webkit-line-clamp element with line-height
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Trivial
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: thewingthing at gmail.com

When there is an element with -webkit-line-clamp and line-height set, the height of the element is different when the text is just short enough to not warrant ellipses vs when the text is just long enough to warrant ellipses.

e.g.
With line-height
No ellipses: height is 44px
With ellipses: height is 42px

Without line-height
No ellipses: height is 38px
With ellipses: height is 38px

-- 
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/20180724/9ec6873c/attachment-0001.html>


More information about the webkit-unassigned mailing list