Open Bug 687730 Opened 11 years ago Updated 11 years ago
CSS min-height and overflow interact poorly in XUL
When you have a series of elements like so: <vbox> <vbox> <hbox style="overflow-x: hidden; min-height: 50px;">...</hbox> </vbox> <hbox>...</hbox> </vbox> The second hbox overlaps the first. It seems the first hbox's borders are drawn to the correct size, but the second hbox is positioned as though there was no min-height on the first. Attached is a test case (in HTML, but using XUL box layout) that shows the bug in action. I'm leaving this unconfirmed, since I'm not 100% sure this is a bug, but it's certainly not what I'd expect. This is troublesome for Thunderbird in particular, since our toolbars are laid out this way, and they have overflow-x: hidden; set on them so that they don't push the rest of the chrome out of the window. However, removing all the elements from a toolbar causes the rest of the chrome to get shifted up, even though it shouldn't because of the min-height.
Neil, do you have any idea who could fix this? It's starting to be quite a pain for Thunderbird… Thanks, Blake.
Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.