-
Notifications
You must be signed in to change notification settings - Fork 51
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
When running prefixr multiple times, some styles may disappear #4
Comments
I have similar issue. |
I figured out that it happens only when I select one css property and then run prefixr |
Same issue here in Build 2181 It seems to be that if you run the command on an item that has been prefixed it removes the rest of the rules for that selector. So this: div{
background: #000;
transform: rotate(20deg);
} Turns into: div{
background: #000;
-webkit-transform: rotate(20deg);
-moz-transform: rotate(20deg);
-o-transform: rotate(20deg);
-ms-transform: rotate(20deg);
transform: rotate(20deg);
} Then into: div{
-webkit-transform: rotate(20deg);
-moz-transform: rotate(20deg);
-o-transform: rotate(20deg);
-ms-transform: rotate(20deg);
transform: rotate(20deg);
} |
Same here. |
Seems like wbond quit developing this package... |
Would someone fork and continue? :) |
Just for clarity, this a dupe of #2. |
Also, a work around would be to allow prefixr to work on text selection. Currently it's scoped to the entire code block, whereas my first attempt to use the plugin was to use it on the text I had selected. At least that quick fix wouldn't require a full logic rewrite. |
.ch-info {
} run Prefixr would delete
|
Just submitted a PR that should fix this until Prefixr gets its act together and correctly processes CSS snipets without brackets. |
I started out with the following code block:
Running prefixr once gave me prefixes for -webkit and -moz, running it again removed the background-color style.
The text was updated successfully, but these errors were encountered: