Cssnano: Invalid CSS output when combining border:none and border-color

Created on 9 Aug 2018  路  4Comments  路  Source: cssnano/cssnano

Input:

.test {
  border-bottom: none;
  border-color: red;
}

Output:

.test{border-bottom:none none red;border-left-color:red;border-right-color:red;border-top-color:red}

Expected:

.test{border-bottom: none;border-color: red}

Note: border-bottom: none none red is invalid.

And if you replace border-bottom: none with border: none the output is also invalid:

.test{border:none none red}

cssnano version: 4.0.5

bug

All 4 comments

I'll try to have a look at it this weekend.

It's gonna be a few more days. Sorry for the delay.

@albertxing Sorry for the delay, the fix will be published in the next release.

Thanks! 馃檶 馃檱

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maxlapides picture maxlapides  路  7Comments

oliverschwarzpdm picture oliverschwarzpdm  路  7Comments

selipasha picture selipasha  路  8Comments

lukasoppermann picture lukasoppermann  路  7Comments

nisarhassan12 picture nisarhassan12  路  5Comments