Electron Support
Electron is a framework to build desktop applications with JS and CSS. It is used in Atom text editor and Hyper terminal. Electron is based on Chromium, but have different versions. For instance, Electron 1.4 is based on Chromium 53.
@Kilian made a npm package and Electron-to-Chrome versions mapping. Browserslist 1.6 uses this npm package to covert Electron version to Chrome:
browserslist('Electron >= 1.3') //=> ["chrome 53", "chrome 52"]
Autoprefixer 6.7 uses new Browserslist version, so you could write Electron versions in your browserslist
section of package.json
.
Also new Browserslist fixes inconsistency of Can I Use data to prevent errors like:
BrowserslistError: Unknown version 0 of and_chr
flex-flow
Autoprefixer converts flexbox syntax to support 2012 and 2009 flexbox specification. Unfortunately, not all properties could be converted to 2009 spec.
Oldest specification doesn’t support flex-flow
too, so previous Autoprefixer releases ignore this property.
.foo {
flex-flow: row
}
But flex-flow
is just a shortcut of [flex-direction] [flex-wrap]
and flex-direction
could be converted to two properties in 2009 specification.
Autoprefixer 1.7 converts row
, column
, row-reverse
and column-reverse
values of flex-flow
too.
.foo {
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-flow: row;
-ms-flex-flow: row;
flex-flow: row;
}
Note, that wrap
, wrap-reverse
and nowrap
values still not supported.