Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Seems like IE ignores calc in more instances than shorthand #32
Weird. I don't know how I missed this not working in IE10, but it looks like you're right.
An easy workaround, though, assuming you know whether you're in a row or column flex container, is to use
flex: 0 0 auto; width: calc(100%/3);
This works for me in IE10.
I'm not convinced getting rid of clearfixes/floats is a good enough reason to drop browser support for IE8-9.
I'd like to add that I would love for the polyfill to be fixed to take this into consideration. I'd make a pretty neat Flexbox grid system if that were the case.
Very true, which maybe that just means flexbox truly isn't ready yet then? Once IE8 and IE9 finally vanish (IE8 is getting there, even though in theory it's already on EOL, but some XP users are still using it of course). Then maybe that's when flexbox finally makes some sense and it's worth getting rid of floats at that point?