Autoprefixer 7.1 brings unicode-bidi
support, -webkit-appearance
to Edge and fix intrinsic widths prefixes in Grid Layout.
unicode-bidi
Autoprefixer 7.1 will add prefixes for isolate
, plaintext
and isolate-override
values in unicode-bidi
:
.foo {
unicode-bidi: -webkit-isolate;
unicode-bidi: isolate;
}
Edge and -webkit-appearance
Prefixes sometime could be very strange. Edge started to support appearance
property with a prefix. But because of many only-for-Safari websites it supports -webkit-appearance
instead of -ms-appearance
.
Autoprefixer 7.1 knows it and will generate -webkit-appearance
even if you set only "last 1 Edge version"
in browserslist config.
Intrinsic Widths
min-content
, stretch
and other Intrinsic sizes was fixed in grid-template-columns
and other Grid Layout properties.
.foo {
grid-template-columns: minmax(100px, -webkit-min-content);
grid-template-columns: minmax(100px, min-content);
}
Browserslist in info()
By accident Browserslist 1 loaded config from current working dir if file path was missed. In Browserslist 2 we fixed it and now you must specify path to file in explicit way.
It is not a problem for Autoprefixer user, because Autoprefixer takes CSS file path from PostCSS.
But autoprefixer.info()
stopped to load conifg in 7.0. In 7.1 we added from
option to info()
.
Set the path to your CSS file and info()
will show what prefixes and why it will added to this CSS file:
autoprefixer.info({ from: './scr/app.css' })
//=> Browsers:
// Chrome: 58
//
// These browsers account for 1.68% of all users globally
//
// Selectors:
// :fullscreen: webkit
// …