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

-ms-flex-align: end is incorrect, flex-end is the correct value #169

Closed
mgol opened this issue Jan 8, 2014 · 5 comments
Closed

-ms-flex-align: end is incorrect, flex-end is the correct value #169

mgol opened this issue Jan 8, 2014 · 5 comments

Comments

@mgol
Copy link
Contributor

mgol commented Jan 8, 2014

The following:

div {
    align-items: flex-end;
}

is translated by Autoprefixer (with default settings) to:

div {
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
}

but there is no such thing as -ms-flex-align: end. It should be flex-end as with all other versions, see:
http://msdn.microsoft.com/en-us/library/ie/jj127304(v=vs.85).aspx

Compass 1.0.0.alpha.17 does it correctly.

See also #165 for a similar issue.

@ai
Copy link
Member

ai commented Jan 8, 2014

Your MSDN link is to IE 11 docs, but IE 10 supports different flexbox standard and according some posts requires -ms-flex-align.

@ai ai closed this as completed Jan 8, 2014
@ai
Copy link
Member

ai commented Jan 8, 2014

Does I understand right, that IE flexbox issues is only about IE 11 specs?

@mgol
Copy link
Contributor Author

mgol commented Jan 8, 2014

Hah, you're right! What a mess. IE11 doesn't need prefixes so I don't get it why they not only kept prefixed versions as well but also changed their syntax.

I was confused because I clicked on a link in IE10 docs: http://msdn.microsoft.com/en-us/library/ie/hh673531(v=vs.85).aspx

They have a mess in docs...

So it seems this is one of these things that Compass got wrong and Autoprefixer got right.

@ai
Copy link
Member

ai commented Jan 8, 2014

it seems this is one of these things that Compass got wrong and Autoprefixer got right.

Like a honey on the soul :D

@mgol
Copy link
Contributor Author

mgol commented Jan 8, 2014

BTW, this post:
http://msdn.microsoft.com/en-us/library/ie/dn265027(v=vs.85).aspx
confirms what you said. Sorry for the fuss!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants