Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE11 does not accept 0 as a valid length for the flex-basis property. #2121

Closed
joineral32-cengage opened this issue Dec 2, 2015 · 4 comments

Comments

@joineral32-cengage
Copy link

IE11 appears to have the following bug with flexbox. When using the flex property in IE11, setting a length value of '0' for the flex-basis component of the flex property (e.g. flex: 1 1 0) is not recognized as a valid value, and can cause the browser to ignore the flex property.

This appears to be confirmed by Microsoft's documentation for flex-basis in IE11:
https://msdn.microsoft.com/en-us/library/dn254946(v=vs.85).aspx
See: "Width as specified by a number, followed by a length unit. Negative numbers are invalid."

@joineral32-cengage joineral32-cengage changed the title IE11 does not accept 0 as a valid length for the flex-basis property. IE11 does not accept 0 as a valid length for the flex-basis property. label:"Support data suggestion" Dec 2, 2015
@joineral32-cengage joineral32-cengage changed the title IE11 does not accept 0 as a valid length for the flex-basis property. label:"Support data suggestion" IE11 does not accept 0 as a valid length for the flex-basis property. Dec 2, 2015
@damienmckenna
Copy link
Contributor

This was reported as a bug in the YUI compressor: tubalmartin/YUI-CSS-compressor-PHP-port#26

@damienmckenna
Copy link
Contributor

I opened a new PR to note this bug/feature: #2532

@damienmckenna
Copy link
Contributor

@Fyrd
Copy link
Owner

Fyrd commented Jul 7, 2016

Closing this issue, since the PR got merged.

@Fyrd Fyrd closed this as completed Jul 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants