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

Multiple values (prefixes) for "display" property is not valid in chrome #81

Closed
aliry opened this issue Jun 3, 2016 · 5 comments
Closed

Comments

@aliry
Copy link

aliry commented Jun 3, 2016

Don't know if I'm doing something wrong or ...
I have a style with "display: flex" and Aphrodite output look like this:
display: -webkit-box,-moz-box,-ms-flexbox,-webkit-flex,flex !important

which is not working in chrome and marked as invalid property value!

@xymostech
Copy link
Contributor

@aliry Hello! What version of aphrodite are you using? I think this was a bug caused by our auto-prefixer in version 0.3.0 that was fixed in 0.3.1.

@aliry
Copy link
Author

aliry commented Jun 3, 2016

I'm using aphrodite@0.3.1 but it look like version 0.3.1 is not using the latest version of auto-prefixer.
It is using version 1.0.5 while the latest is 2.0.2

Here is what I get from npm list:
+-- aphrodite@0.3.1
| -- inline-style-prefix-all@1.0.5

@aliry
Copy link
Author

aliry commented Jun 4, 2016

FYI: I've cloned and built locally and it works fine.
I think you should've bump the version with the latest change in package.json (#71)
The one you made to use the latest version of inline-style-prefix-all

@xymostech
Copy link
Contributor

It doesn't matter as much whether you're using the lastest version of the auto-prefixer, just that you are using a compatible version of aphrodite and the auto-prefixer!

If I do a clean npm install aphrodite, I get the same versions you got, but it generates these styles:

.test_poyjc{display:-webkit-box !important;display:-moz-box !important;display:-ms-flexbox !important;display:-webkit-flex !important;display:flex !important;}

Can you share a larger example of how you are generating those styles?

@aliry
Copy link
Author

aliry commented Jul 6, 2016

Thats right it works with a clean install

Thanks

@aliry aliry closed this as completed Jul 6, 2016
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