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

UNCONFIRMED
Unassigned

Status

()

Core
XUL
UNCONFIRMED
6 years ago
4 years ago

People

(Reporter: Brad Vogel, Unassigned)

Tracking

({testcase})

7 Branch
x86
Mac OS X
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
Created attachment 573857 [details]
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".

Updated

6 years ago
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout

Updated

6 years ago
Attachment #573857 - Attachment mime type: text/plain → text/html

Updated

6 years ago
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"
You need to log in before you can comment on or make changes to this bug.