Skip to content

Commit

Permalink
Adding Safari 7 support to autoprefixer
Browse files Browse the repository at this point in the history
Backports PR #9534

**Commit 1:**
Adding Safari 7 support to autoprefixer

PhantomJS is using a rather outdated version of WebKit, which requires
various css-prefixes to render correctly. PhantomJS doesn't have a specific
user-agent, and Safari 7 is the closet version of WebKit.

* Original sha: fd03bf7
* Authored by kobelb <[email protected]> on 2016-12-16T21:04:53Z
  • Loading branch information
elastic-jasper committed Dec 19, 2016
1 parent 6cd7016 commit d526f89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/optimize/postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ module.exports = {
require('autoprefixer')({
browsers: [
'last 2 versions',
'> 5%'
'> 5%',
'Safari 7' // for PhantomJS support
]
})
]
Expand Down

0 comments on commit d526f89

Please sign in to comment.