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

When running prefixr multiple times, some styles may disappear #4

Open
ChezFre opened this issue Apr 7, 2012 · 10 comments
Open

When running prefixr multiple times, some styles may disappear #4

ChezFre opened this issue Apr 7, 2012 · 10 comments

Comments

@ChezFre
Copy link

ChezFre commented Apr 7, 2012

I started out with the following code block:

#wrapper {
background-color: rgb(200,180,255);
border-radius: 10px;
}

Running prefixr once gave me prefixes for -webkit and -moz, running it again removed the background-color style.

@gornostal
Copy link

I have similar issue.
Only in my case styles disappear every time when I run prefixr :(

@gornostal
Copy link

I figured out that it happens only when I select one css property and then run prefixr

@ninnypants
Copy link

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);
}

@MichMich
Copy link

MichMich commented Jul 3, 2012

Same here.

@varemenos
Copy link

Seems like wbond quit developing this package...

@pixelfreak
Copy link

Would someone fork and continue? :)

@taitems
Copy link

taitems commented Jan 16, 2013

Just for clarity, this a dupe of #2.

@taitems
Copy link

taitems commented Jan 16, 2013

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.

@mediter
Copy link

mediter commented Feb 9, 2013

.ch-info {
position: absolute;
width: 100%;
height: 100%;
border-radius: 50%;
overflow: hidden;
opacity: 1;

-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
-ms-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;

transform: scale(1); 

}

run Prefixr would delete

position: absolute;
width: 100%;
height: 100%;
border-radius: 50%;
overflow: hidden;
opacity: 1;

@schmod
Copy link

schmod commented Mar 27, 2013

Just submitted a PR that should fix this until Prefixr gets its act together and correctly processes CSS snipets without brackets.

@schmod schmod mentioned this issue Mar 28, 2013
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

9 participants