Open Bug 850748 Opened 13 years ago Updated 3 years ago

"overflow:hidden" with "display:-moz-box" cause "-moz-box-pack" and "-moz-box-align" styles not function at all.

Categories

(Core :: Layout, defect)

19 Branch
x86_64
Windows 7
defect

Tracking

()

People

(Reporter: pgingrich, Unassigned)

Details

Attachments

(2 files)

Attached file bug.html
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.152 Safari/537.22 Steps to reproduce: I added the style "overflow:hidden" to a container using the "display:-moz-box" style. I've attached the .html that illustrates the problem. Actual results: The text "center me" is no longer centered in the middle of the box, but is displayed at the top of the box. Expected results: There should have been no effect. The text should still be centered in the box. The moz-align style is no longer working correctly.
Attachment #724482 - Attachment mime type: text/plain → text/html
I can confirm the different rendering compared to safari.
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout
Ever confirmed: true
Product: Firefox → Core
The effects on images are worse
Attachment #781773 - Attachment mime type: text/plain → text/html
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: