Last Comment Bug 701794 - old-style flexbox (-moz-box) doesn't respect "margin:0 auto"
: old-style flexbox (-moz-box) doesn't respect "margin:0 auto"
Status: UNCONFIRMED
: testcase
Product: Core
Classification: Components
Component: XUL (show other bugs)
: 7 Branch
: x86 Mac OS X
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
: Neil Deakin
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-11 11:11 PST by Brad Vogel
Modified: 2013-04-09 16:09 PDT (History)
4 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
test.html (601 bytes, text/html)
2011-11-11 11:11 PST, Brad Vogel
no flags Details

Description Brad Vogel 2011-11-11 11:11:44 PST
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".
Comment 1 Boris Zbarsky [:bz] (still a bit busy) 2011-11-12 21:11:07 PST
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.

Note You need to log in before you can comment on or make changes to this bug.