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

-webkit-transform: translateX(-foo%); for Safari 8 #39

Open
suzumakes opened this issue Feb 26, 2016 · 1 comment
Open

-webkit-transform: translateX(-foo%); for Safari 8 #39

suzumakes opened this issue Feb 26, 2016 · 1 comment

Comments

@suzumakes
Copy link

Hey, title pretty much says it all, but transform: translateX requires the -webkit prefix to work on Safari 8.

Thanks for your site, it's a useful resource and I'd be happy to help in any way I can.

You're using the default threshold of 0.5% usage globally to filter the needed prefixes aren't you? I'll look into how you're pulling these and at contributing a way to adjust the threshold/switch to current location statistics for you.

@davidhund
Copy link
Owner

@suzumakes — Thanks Keith, and you're right of course. However, this applies to all transform values, right? ShouldIprefix does mention this for transform so I don't think we should add another entry for one specific value (translateX).

I did notice, however, that I only mention iOS and not iOS < 9.2. That could be an improvement.

As for what prefixes are included:

I have chosen to take a ‘progressive’ approach: when a browser ‘three versions back’ still requires a prefix I will include it. If it is older I exclude that prefix — Disclaimer

So it's a very opinionated and hardly scientific approach ;-)

I have briefly looked at filtering these on a more localized context, but that would require a rewrite: it's simply a jekyll site as of now.

But I'm always happy to take PR's 🚀

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