Open Bug 701794 Opened 13 years ago Updated 2 years ago

old-style flexbox (-moz-box) doesn't respect "margin:0 auto"

Categories

(Core :: XUL, defect)

7 Branch
x86
macOS
defect

Tracking

()

UNCONFIRMED

People

(Reporter: bradavogel, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

Attached file test.html
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/534.51.22 (KHTML, like Gecko) Version/5.1.1 Safari/534.51.22

Steps to reproduce:

Run the attached file.


Actual results:

The red box should be centered. If you open up the code and comment out line 22, the red box becomes centered.


Expected results:

The CSS "display:-moz-box" causes the box to not respect "margin:0 auto".
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Attachment #573857 - Attachment mime type: text/plain → text/html
Keywords: testcase
Almost certainly wontfix; that's just not what margins do with -moz-box.

Note that -moz-box isn't related to the current CSS flexbox spec.
Component: Layout → XUL
QA Contact: layout → xptoolkit.widgets
Summary: Flexboxes don't respect "margin:0 auto" → old-style flexbox (-moz-box) doesn't respect "margin:0 auto"
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: