Open
Bug 809615
Opened 13 years ago
Updated 3 years ago
Default Line Height Does Not Scale Proportionally With Font Size
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: Ryan.Slominski, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file, 1 obsolete file)
Scaling text based on browser window dimensions is not as accurately rendered as in IE 9. The attached html document resizes the text proportional to window size and maintains a 4:3 aspect ratio content div. As you resize your browser the content never overflows in IE 9, but will overflow in Firefox 16.2.
| Reporter | ||
Updated•13 years ago
|
Attachment #679354 -
Attachment mime type: text/plain → text/html
It sometimes overflows with Opera 12.02 and always overflows with Google Chrome with my usual browser settings (changed default fonts).
I assume
1) it depends on used fonts
2) your assumptions about font size rounding mechanisms are wrong
3) setting "line-height" explicitly may help
Keywords: testcase
Version: 16 Branch → Trunk
| Reporter | ||
Comment 2•13 years ago
|
||
Wow, explicitly setting the line-height on the 'ul' to '1em' actually does fix the problem (also fixes it in Chrome and Opera). Weird. Thanks. I guess this may still be a bug though because I would assume the default line height should be changing proportionally as font size changes.
P.S. - Too bad explicitly setting word spacing doesn't fix this other bug: 807988
| Reporter | ||
Updated•13 years ago
|
Summary: Scaling Text As Percentage Inaccurate → Default Line Height Does Not Scale Proportionally With Font Size
| Reporter | ||
Comment 3•13 years ago
|
||
Updated testcase to report current line height and font size.
Attachment #679354 -
Attachment is obsolete: true
| Reporter | ||
Updated•13 years ago
|
Attachment #681089 -
Attachment mime type: text/plain → text/html
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•