csso icon indicating copy to clipboard operation
csso copied to clipboard

Initial replacement of '0rem' for '0' increases output complexity

Open EOG opened this issue 8 years ago • 0 comments

The following css:

.foo th { padding: 0rem; }
.foo th { padding: .3rem; }
.bar th { padding: 0.001rem; }
.bar th { padding: 0.3rem; }

Transforms into:

.foo th{padding:0}
.bar th,.foo th{padding:.3rem}

Expected result

.bar th,.foo th{padding:.3rem}

Online viewer suggests it happens during initial replace step

EOG avatar Mar 21 '18 15:03 EOG