Autoprefixer: Getting back not valid value for -webkit-box-ordinal-group property when setting order: inherit; or order: initial;

Created on 10 Mar 2017  路  3Comments  路  Source: postcss/autoprefixer

Hi everybody,

I encountered some weird behavior of the postcss-autoprefixer plugin which might be of interest.

When setting the order property to,

order: inherit; 

or

order: initial;

I get this back:

// using order: inherit;
-webkit-box-ordinal-group: NaN;
-ms-flex-order: inherit;
order: inherit;
// using order: initial;
-webkit-box-ordinal-group: NaN;
-ms-flex-order: initial;
order: initial;

As you can see the -webkit-box-ordinal-group value is not valid.

it works fine when setting

order: 0;

I made a codepen example showing this issue,
you can find it here: https://codepen.io/jnnkm/pen/MppBaK

I haven't found any similar issues in this repository,
have you seen this before?

Thank you!

Most helpful comment

Oops 馃槄. I will fix it on this weekend.

All 3 comments

Oops 馃槄. I will fix it on this weekend.

Done b12960c

Released in 6.7.7.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sgomes picture sgomes  路  5Comments

plesiecki picture plesiecki  路  4Comments

cvle picture cvle  路  3Comments

KeviinCosmos picture KeviinCosmos  路  3Comments

mathiasbynens picture mathiasbynens  路  3Comments