Open
Bug 394738
Opened 18 years ago
Updated 3 years ago
Wrong box sizing if multi-line <description> follows element with max-height set
Categories
(Core :: Layout, defect)
Tracking
()
NEW
People
(Reporter: jwkbugzilla, Unassigned)
References
Details
Attachments
(1 file)
|
553 bytes,
application/vnd.mozilla.xul+xml
|
Details |
See attached testcase - we have two elements in a <hbox>, one has max-height CSS property set and the next one is a multi-line <description> element. For some reason, this max-height property on a child changes height of the container so that it can only hold one line of the <description> element and (some of) the rest is painted outside the box.
I see this in Firefox 2.0.0.6 and on trunk.
| Reporter | ||
Comment 1•18 years ago
|
||
For some reason, the testcase I attached only works if you download it and open from file:///.
And a note: putting the element with max-height inside a <vbox> element makes everything work correctly again.
| Reporter | ||
Comment 2•18 years ago
|
||
Comment on attachment 279436 [details]
Testcase
Sorry, my fault - set a wrong content type for the testcase. Now it should work online as well.
Attachment #279436 -
Attachment mime type: text/html → application/vnd.mozilla.xul+xml
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•