csso icon indicating copy to clipboard operation
csso copied to clipboard

Странная структурная минификация

Open Azq2 opened this issue 9 years ago • 0 comments

На входе:

    .ico_cats {
        display: inline-block;
        background: transparent url('<TMPL_var config.icons.baseurl>ico_cats.png?r=363bf') no-repeat;
        width: 16px;
        height: 16px;
    }
    .ico_soo {
        display: inline-block;
        background: transparent url('<TMPL_var config.icons.baseurl>ico_soo.png?r=ff88a') no-repeat;
        width: 16px;
        height: 16px;
    }
    .ico_mail {
        display: inline-block;
        background: transparent url('<TMPL_var config.icons.baseurl>ico_mail.png?r=87606') no-repeat;
        width: 16px;
        height: 16px;
    }
    .ico_abar {
        display: inline-block;
        background: transparent url('<TMPL_var config.icons.baseurl>ico_abar.png?r=b2f82') no-repeat;
        width: 16px;
        height: 16px;
    }
    .ico_prof {
        display: inline-block;
        background: transparent url('<TMPL_var config.icons.baseurl>ico_prof.png?r=45610') no-repeat;
        width: 16px;
        height: 16px;
    }
    .ico_chat {
        display: inline-block;
        background: transparent url('<TMPL_var config.icons.baseurl>ico_chat.png?r=3a2b3') no-repeat;
        width: 16px;
        height: 16px;
    }

На выходе:


.ico_cats {
    background: url("<TMPL_var config.icons.baseurl>ico_cats.png?r=363bf") no-repeat
}

.ico_cats,.ico_mail,.ico_soo {
    display: inline-block;
    width: 16px;
    height: 16px
}

.ico_soo {
    background: url("<TMPL_var config.icons.baseurl>ico_soo.png?r=ff88a") no-repeat
}

.ico_mail {
    background: url("<TMPL_var config.icons.baseurl>ico_mail.png?r=87606") no-repeat
}

.ico_abar {
    background: url("<TMPL_var config.icons.baseurl>ico_abar.png?r=b2f82") no-repeat
}

.ico_abar,.ico_chat,.ico_prof {
    display: inline-block;
    width: 16px;
    height: 16px
}

.ico_prof {
    background: url("<TMPL_var config.icons.baseurl>ico_prof.png?r=45610") no-repeat
}

.ico_chat {
    background: url("<TMPL_var config.icons.baseurl>ico_chat.png?r=3a2b3") no-repeat
}

Что я ожидал получить:

.ico_cats {
    background: url("<TMPL_var config.icons.baseurl>ico_cats.png?r=363bf") no-repeat
}

.ico_soo {
    background: url("<TMPL_var config.icons.baseurl>ico_soo.png?r=ff88a") no-repeat
}

.ico_mail {
    background: url("<TMPL_var config.icons.baseurl>ico_mail.png?r=87606") no-repeat
}

.ico_abar {
    background: url("<TMPL_var config.icons.baseurl>ico_abar.png?r=b2f82") no-repeat
}

.ico_prof {
    background: url("<TMPL_var config.icons.baseurl>ico_prof.png?r=45610") no-repeat
}

.ico_chat {
    background: url("<TMPL_var config.icons.baseurl>ico_chat.png?r=3a2b3") no-repeat
}

.ico_abar,.ico_cats,.ico_chat,.ico_mail,.ico_prof,.ico_soo {
    display: inline-block;
    width: 16px;
    height: 16px
}

Почему так?

Azq2 avatar Aug 21 '16 09:08 Azq2