[Webkit-unassigned] [Bug 225695] New: fractional CSS line-height value translates to rounded (floored) element height

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 12 05:30:04 PDT 2021


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

            Bug ID: 225695
           Summary: fractional CSS line-height value translates to rounded
                    (floored) element height
           Product: WebKit
           Version: Safari 14
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: andreas at ertdfgcvb.xyz

This behaviour is new in Safari 14 (14.1).

Example issue:

a <SPAN> element has font-size set to 16px and line-height set to 1.2 (via CSS).
The resulting height of the element was correctly computed to 19.2 (prior v14) but is now resulting 19.

-- 
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/20210512/558fcc91/attachment.htm>


More information about the webkit-unassigned mailing list