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

Prefixed pseudo-classes are not working #14

Open
vincentorback opened this issue Jul 6, 2014 · 8 comments
Open

Prefixed pseudo-classes are not working #14

vincentorback opened this issue Jul 6, 2014 · 8 comments

Comments

@vincentorback
Copy link

Hey @stoyan and thanks for this awesome project!

I found a small issue with prefixed pseudo-classes such as ::-webkit-input-placeholder.

They wont work if they are stacked after each other like this:

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  color: red;
}

So instead they need to be broken down like this:

::-webkit-input-placeholder {
  color: red;
}
:-moz-placeholder {
  color: red;
}
::-moz-placeholder {
  color: red;
}
:-ms-input-placeholder {
  color: red;
}

Unfortunately I’m not so node-savy yet so i couldn't make a pull-request. But here’s a jsfiddle with the issue.
This is also the issue with ::selection but that’s not a CSS standard yet.

@pepelsbey
Copy link

+1 for fixing this, it’s really annoying

@tbredin
Copy link

tbredin commented Jul 30, 2014

+1, I had to remove it from our company workflow after a short trial that revealed broken placeholder styles everywhere

@febLey
Copy link

febLey commented Sep 24, 2014

+1, i've encountered the same issue

@marcobiedermann
Copy link

+1

2 similar comments
@stefanmaric
Copy link

+1

@frontend-3
Copy link

+1

@diego06884
Copy link

+1 and has anyone found a solution-workaround for this?

@frontend-3
Copy link

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

No branches or pull requests

8 participants