Closed longoria closed 13 years ago
Using some CSS to simulate hbox/vbox/etc. (from Alex Russel's blog) breaks Flexie on IE8 with the error:
Invalid argument. flexie.js, line 784 character 8
Here is the CSS, if you un-comment any of the commented lines you can trigger the error in IE8:
/* hbox and vbox classes */ .hbox { display: -webkit-box; -webkit-box-orient: horizontal; -webkit-box-align: stretch; display: -moz-box; -moz-box-orient: horizontal; -moz-box-align: stretch; display: box; box-orient: horizontal; box-align: stretch; } .hbox > * { -webkit-box-flex: 0; -moz-box-flex: 0; box-flex: 0; display: block; } .vbox { display: -webkit-box; -webkit-box-orient: vertical; -webkit-box-align: stretch; display: -moz-box; -moz-box-orient: vertical; -moz-box-align: stretch; display: box; /*box-orient: vertical;*/ /*box-align: stretch;*/ } .vbox > * { -webkit-box-flex: 0; -moz-box-flex: 0; box-flex: 0; display: block; } .spacer { -webkit-box-flex: 1; -moz-box-flex: 1; box-flex: 1; } .reverse { -webkit-box-direction: reverse; -moz-box-direction: reverse; box-direction: reverse; } .boxFlex0 { -webkit-box-flex: 0; -moz-box-flex: 0; box-flex: 0; } .boxFlex1, .boxFlex { -webkit-box-flex: 1; -moz-box-flex: 1; box-flex: 1; } .boxFlex2 { -webkit-box-flex: 2; -moz-box-flex: 2; box-flex: 2; } .start { -webkit-box-pack: start; -moz-box-pack: start; box-pack: start; } .end { -webkit-box-pack: end; -moz-box-pack: end; box-pack: end; } .center { -webkit-box-pack: center; -moz-box-pack: center; box-pack: center; } .alignCenter { -webkit-box-align: center; -moz-box-align: center; box-align: center; }
Thanks for the bug report. The issue should be fixed, although I haven't tested all available combinations.
Please file another bug report if you see any other issues from this ruleset.
Using some CSS to simulate hbox/vbox/etc. (from Alex Russel's blog) breaks Flexie on IE8 with the error:
Invalid argument. flexie.js, line 784 character 8
Here is the CSS, if you un-comment any of the commented lines you can trigger the error in IE8: