line-height: normal is handled differently for non-floating ::first-letter
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
People
(Reporter: dbaron, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(7 files, 1 obsolete file)
Updated•3 years ago
|
Comment 1•2 months ago
|
||
Updated•2 months ago
|
Comment 2•2 months ago
|
||
Comment 3•2 months ago
|
||
Here's a screenshot of testcase 1, taken on Windows 11 with Nightly 143.0a1 (2025-08-04) (64-bit)
Comment 4•2 months ago
|
||
Comment on attachment 9505048 [details]
screenshot of testcase 1
(sorry, obsoleting/reposting; trying to capture a screenshot of testcase/reference with exact same window size, and I inadvertently resized my window in between. :) )
Comment 5•2 months ago
|
||
Comment 6•2 months ago
|
||
Comment 7•2 months ago
|
||
I can't reproduce with testcase 1 / reference case 1 on Ubuntu 25.04, but I think that's because the normal
line-height behavior is font-dependent and the default font on Ubuntu happens to use a normal
value that Just Works for the purposes of this bug.
However, some other fonts do reproduce it; e.g. DejaVu Sans Mono
(the font that I get for the monospace
generic font-family) seems to trigger the bug on LInux.
Comment 8•2 months ago
|
||
Comment 9•2 months ago
|
||
Comment 10•2 months ago
|
||
Here's testcase 2 / reference case 2 in side-by-side Nightly windows on Ubuntu 25.04.
The reference case's text is placed slightly further down the page than the testcase's text, due to a slightly different line-height
value.
Description
•