Skip to content

Existing identical font-feature-settings gets duplicated #8

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

Merged
merged 1 commit into from
Jul 8, 2016
Merged

Existing identical font-feature-settings gets duplicated #8

merged 1 commit into from
Jul 8, 2016

Conversation

ChaosExAnima
Copy link
Contributor

@ChaosExAnima ChaosExAnima commented Jul 7, 2016

Currently, given CSS as follows:

selector {
  font-feature-settings: normal;
  font-variant: normal;
}

The code produces the following after processing:

selector {
  font-feature-settings: normal, normal;
  font-variant: normal;
}

This code makes sure that if there's an existing font-feature-settings value, the new value being appended doesn't match what currently exists.

@MoOx MoOx merged commit 31cf782 into postcss:master Jul 8, 2016
@MoOx
Copy link
Contributor

MoOx commented Jul 8, 2016

Thanks!
Released as 2.0.1.

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

Successfully merging this pull request may close these issues.

2 participants