You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this might be a duplicate of #1044 merge-longhand first splits every shorthand into the single properties, then tries to merge them back, but sometimes it merges back into a form that's longer than the original.
In this case, it goes from border-top: 1px solid;border-color: purple
Then tries to merge it back and finds that strange result (notice that the new rule seems in fact reasonably equivalent to the original, so at least it's not completely broken)
Describe the bug
Given
a{border-top:1px solid;border-color:purple}
results ina{border-color:currentcolor purple purple;border-top:1px solid purple}
.To Reproduce
Run a test like this:
Expected behavior
Expected output would I think be the same as the input so:
border-top:1px solid;border-color:purple
.Environment
Node.js 14, cssnano on master
4d7fe367
.Additional context
See #1071
The text was updated successfully, but these errors were encountered: