Skip to content

preserve: true outputting some declarations twice. #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
irunatbullets opened this issue Apr 8, 2015 · 3 comments
Closed

preserve: true outputting some declarations twice. #7

irunatbullets opened this issue Apr 8, 2015 · 3 comments
Labels

Comments

@irunatbullets
Copy link

If I do this in my source

.selector {
  width: calc(100% - 80px);
}

The result will be

.selector {
  width: calc(100% - 80px);
  width: calc(100% - 80px);
}

It should just leave the declaration as-is.

@irunatbullets
Copy link
Author

Sorry I think I've logged this in the wrong place. Should I log it over at reduce-css-calc instead?

@MoOx
Copy link
Contributor

MoOx commented Apr 9, 2015

Nope this issue belong to this plugin which is not testing the value before cloning & changing it.

@MoOx MoOx added the bug label Apr 9, 2015
@MoOx MoOx closed this as completed in 51ee3f8 Apr 9, 2015
@MoOx
Copy link
Contributor

MoOx commented Apr 9, 2015

Patch released as 4.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants