Closed Bug 239242 Opened 21 years ago Closed 21 years ago

When minumum-font-size causes a block of text to become taller than the css-height of the surrounding div, bad things happen.

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: halcanary, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.6) Gecko/20040207 Firefox/0.8 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; rv:1.6) Gecko/20040207 Firefox/0.8 When minumum font size causes a block of text to become taller than the css height of the surrounding div, bad things happen. I suggest that the renderer interpret the height as a minumum height, not as the maximum height of the div. You may disagree, and this may devolve into a religous war. I hope not. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Attached image screenshot.
We do disagree. The CSS spec has min-height and max-height properties for the min and max height. "height" means neither; it means that height _has_ to be used. If the page were sizing the div in em, this would be a non-issue, since it would scale with the text. If it's sizing in absolute units, it will have problems at times even without the minimum font size pref. We can't fix badly designed pages, unfortunately.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: