Uneven line-height for non-integer values (should round/snap line-height to device pixels)
Categories
(Core :: Layout: Text and Fonts, defect, P2)
Tracking
()
| Webcompat Score | ? |
People
(Reporter: jonasw, Unassigned)
References
()
Details
(Keywords: testcase)
Attachments
(9 files)
| Reporter | ||
Comment 1•17 years ago
|
||
| Reporter | ||
Comment 2•17 years ago
|
||
| Reporter | ||
Updated•17 years ago
|
Updated•17 years ago
|
Comment 4•17 years ago
|
||
Comment 7•17 years ago
|
||
Comment 8•17 years ago
|
||
Comment 10•17 years ago
|
||
Comment 11•17 years ago
|
||
Comment 12•17 years ago
|
||
Comment 14•15 years ago
|
||
Comment 17•15 years ago
|
||
Comment 18•15 years ago
|
||
Comment 19•15 years ago
|
||
Updated•15 years ago
|
Comment 21•13 years ago
|
||
Comment 22•12 years ago
|
||
Comment 23•11 years ago
|
||
Updated•11 years ago
|
Comment 24•10 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
Updated•7 years ago
|
Comment 25•4 years ago
|
||
Hello
I know this is a very old issue, but I can still reproduce it on the latest Firefox versions (release, beta and nightly) using attachment " testcase 3 (best result) " on Windows 10, MacOS 11 and ubuntu 20.
so I'm going to mark it accordingly.
Comment 26•3 years ago
|
||
In the process of migrating remaining bugs to the new severity system, the severity for this bug cannot be automatically determined. Please retriage this bug using the new severity system.
Updated•2 years ago
|
Comment 27•5 months ago
|
||
Can we fix this please? We have CSS lh units now and it is inaccurate.
I made a small online tool to calculate some font metrics here:
http://jeka.info/test/font-metrics.html
Firefox gets line-height wrong due to this bug (as a strong assumption).
The tool probes the width of a 1lh wide element using getComputedStyle(element).width
I could fix my tool by using a huge font-size but ...
Description
•