sublime_prefixr icon indicating copy to clipboard operation
sublime_prefixr copied to clipboard

deletes non-prefixed statements after changing value

Open stereonom opened this issue 11 years ago • 1 comments

When I have for example:

div {
    margin: 20px;
    padding: 10px;
    transition: 1s all;
}

it gets correctly prefixed to:

div {
    margin: 20px;
    padding: 10px;
    -webkit-transition: 1s all;
    -moz-transition: 1s all;
    -o-transition: 1s all;
    -ms-transition: 1s all;
    transition: 1s all;
}

Now I change the last row from "transition: 1s all;" to "transition: 5s all;" and hit the prefix commando again. The result is:

div {
    -webkit-transition: 5s all;
    -moz-transition: 5s all;
    -o-transition: 5s all;
    -ms-transition: 5s all;
    transition: 5s all;
}

It killed the margin and the padding statements. I tried a few other tests and every time the statements before the prefixed ones get killed.

Hope you can fix this soon.

stereonom avatar May 17 '13 07:05 stereonom

I have discovered this ugly behaviour too! :-(

Chates avatar Aug 03 '13 19:08 Chates