[Webkit-unassigned] [Bug 216601] New: getComputedStyle rounds lineHeight to nearest pixel
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 15 23:40:21 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=216601
Bug ID: 216601
Summary: getComputedStyle rounds lineHeight to nearest pixel
Product: WebKit
Version: Safari 13
Hardware: Macintosh
OS: macOS 10.15
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: neil.ashford at tiny.cloud
See example: https://jsfiddle.net/kyrfgot6/1/
When calling `getComputedStyle(element).lineHeight` the output is rounded to the nearest pixel value. Other browsers give a precise value, and I need it to be precise so that I can calculate the original (unitless) line height specified in the CSS.
--
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/20200916/b0cbc839/attachment-0001.htm>
More information about the webkit-unassigned
mailing list