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

support lower-case vendor prefixes in styleNames #1063

Closed
jbonta opened this issue Feb 13, 2014 · 2 comments
Closed

support lower-case vendor prefixes in styleNames #1063

jbonta opened this issue Feb 13, 2014 · 2 comments

Comments

@jbonta
Copy link
Contributor

jbonta commented Feb 13, 2014

TLDR: Let's allow style={msTransform: '...', webkitTransition: '...'}

for stylenames, we recommend that JavaScript keys start with a capital letter for vendor prefixes, presumably because hyphenation is then trivial (so they start with a single leading hyphen). This forces a user to put a vendor-specific key that isn't even valid, or it produces css that doesn't really work.

We probably need to re-work this, or build awareness of vendor-specific prefixes into the core of react's style building. This comes up here too.

@IvanTorresEdge
Copy link

It would be very nice to rather have auto prefixing (and CSS hacks). You guys provide consistent DOM VM. Having a consistent CSS rules would be awesome!

@sophiebits
Copy link
Collaborator

I believe the vendor prefixes Webkit, Moz, ms, O are now supported consistently with that capitalization.

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

3 participants