Skip to content

Prefixed pseudo-classes are not working  #14

@vincentorback

Description

@vincentorback

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions