Skip to content
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

"Aggressive" merging fails when merging an rules with an "invalid" pseudo class rule #16

Open
stephenrose opened this issue Apr 10, 2015 · 0 comments

Comments

@stephenrose
Copy link

Duplicated from my ticket here: frontendfriends/grunt-combine-mq#14

As invalid rules are ignored, .grey will be ignored by browsers that are not webkit, and don't support ::-webkit-*

I see a solution being to blacklist rules that are "invalid" (for any reason), so they are not merged with any other rules.

Input CSS

::-webkit-input-placeholder{
  color:grey;
}


.box{
color:grey;
}

Failing output CSS

::-webkit-input-placeholder, .box{
  color:grey;
}
@stephenrose stephenrose changed the title Edit New issue "Aggressive" merging fails when merging an rules with an "invalid" pseudo class rule "Aggressive" merging fails when merging an rules with an "invalid" pseudo class rule Apr 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants