Open Bug 414948 Opened 18 years ago Updated 3 years ago

Images That're Children of Boxes With display: -moz-inline-box With Won't Display At Non-Native Heights

Categories

(Core :: Layout, defect)

PowerPC
macOS
defect

Tracking

()

UNCONFIRMED

People

(Reporter: mzanon, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/523.12.2 (KHTML, like Gecko) Version/3.0.4 Safari/523.12.2 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 If an image is a child of a box carrying the CSS property of "display: -moz-inline-box", the image will display at its native height regardless of the height attribute of its img tag or any applied "height:" css (see example at given URL). Reproducible: Always Steps to Reproduce: 1. Visit example in URL. 2. 3. Actual Results: Image always appears at native height. Expected Results: Image should appear at height specified in height attribute of img tag or "height:" css (see example at given URL).
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
I found a workaround for this: set a max-height on the image, equal to the desired height.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.