Autoprefixer: backface-visibility needs -webkit- prefix for Safari OS X and iOS

Created on 12 May 2016  Â·  10Comments  Â·  Source: postcss/autoprefixer

backface-visibility seems to need -webkit- prefix for Safari OS X and iOS
please check the 3D flip cards halfway down the page here http://www.superpencil.com/en/work/fishisfast to confirm

support

Most helpful comment

Yep:

Line on caniuse repo here: https://github.com/Fyrd/caniuse/blob/master/features-json/transforms3d.json#L281

"Safari 9 is reported to still require a prefix for the related backface-visibility property."

screenshot 2016-05-13 22 05 33
screenshot 2016-05-13 22 05 46

You can manually patch it for now or just wait for them to, meanwhile autoprefixer doesn't work for this.

All 10 comments

Nope http://caniuse.com/#feat=transforms3d

Yep:

Line on caniuse repo here: https://github.com/Fyrd/caniuse/blob/master/features-json/transforms3d.json#L281

"Safari 9 is reported to still require a prefix for the related backface-visibility property."

screenshot 2016-05-13 22 05 33
screenshot 2016-05-13 22 05 46

You can manually patch it for now or just wait for them to, meanwhile autoprefixer doesn't work for this.

Ouh :( Thanks for examples and link

not only does it fail to add the prefix, but it removes the prefixed property if you manually add it. :(

@thetalecrafter just add some old Safari as temporary solution. I will be able to fix it only few days later.

@ai Thanks for the workaround!

Kinda same problem with flexbox on Safari iOS. I lost all the display:-webkit-flex …

Adding 'iOS 7' in my supported browsers solved the issue.

autoprefixer({ 
  browsers: ['last 2 versions', 'iOS 7'] 
})

@jkneb your problem could be fixed by browserslist config https://github.com/postcss/autoprefixer#no-prefixes-in-production

Done 4e27060

Will be released in 6.4.

Released in 6.4.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Dan503 picture Dan503  Â·  25Comments

albanlorillard picture albanlorillard  Â·  19Comments

bardware picture bardware  Â·  24Comments

tobiastom picture tobiastom  Â·  26Comments

Unknow-max picture Unknow-max  Â·  27Comments