[wp-trac] [WordPress Trac] #37651: Update autoprefixer supported browser matrix

WordPress Trac noreply at wordpress.org
Fri Aug 12 23:29:31 UTC 2016


#37651: Update autoprefixer supported browser matrix
------------------------------+----------------------------------------
 Reporter:  netweb            |      Owner:
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:  needs-patch good-first-bug
  Focuses:                    |
------------------------------+----------------------------------------
 caniuse.com documents browser usage http://caniuse.com/usage-table, this
 data is sourced from http://gs.statcounter.com/

 In the build tools we currently use a browser matrix to determine
 supported browser for autoprefixer, the autoprefixer browser matrix is
 powered by https://github.com/ai/browserslist which sources its data from
 http://caniuse.com/usage-table

 Our current browser matrix is:
 [https://core.trac.wordpress.org/browser/trunk/Gruntfile.js#L28 (source)]
 * `Android >= 2.1`
 * `Chrome >= 21`
 * `Edge >= 12`
 * `Explorer >= 7`
 * `Firefox >= 17`
 * `Opera >= 12.1`
 * `Safari >= 6.0`

 Below are some current worldwide browser stats:

 Top 5 browsers: `browserslist ">6.5%"`

 * `and_chr 51`
 * `and_uc 9.9`
 * `chrome 51`
 * `chrome 50`
 * `ios_saf 9.3`

 Browsers with greater than 2.5% market: `browserslist ">2.5%"`

 * `and_chr 51`
 * `and_uc 9.9`
 * `chrome 51`
 * `chrome 50`
 * `firefox 47`
 * `ie 11`
 * `ios_saf 9.3`
 * `op_mini all`
 * `samsung 4`

 Browsers with greater than 1.0% market: `browserslist ">1.0%"`

 * `and_chr 51`
 * `and_uc 9.9`
 * `android 4.4`
 * `chrome 51`
 * `chrome 50`
 * `chrome 49`
 * `chrome 29`
 * `edge 13`
 * `firefox 47`
 * `firefox 46`
 * `ie 11`
 * `ios_saf 9.3`
 * `ios_saf 9.0-9.2`
 * `op_mini all`
 * `safari 9.1`
 * `samsung 4`

 My biggest surprise here was `and_uc` [http://www.ucweb.com/ UC
 Browser]([https://en.wikipedia.org/wiki/UC_Browser WikiPedia]) which I had
 not even heard of until I looked at theses stats. It's the #1 mobile
 browser in China, and 3rd worldwide behind iOS Safari and Chrome.
 [http://gs.statcounter.com/#mobile+tablet+console-browser-ww-
 monthly-201507-201607 source].

 I suggest we these browsers to the Autoprefixer matrix:

 * `and_uc >= 9`
 * `ios >= 6`
 * `op_mini = all`
 * `samsung >= 4`

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37651>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list