vtst / ow

Various Eclipse plugins for web development
http://www.normalesup.org/~simonet/soft/
74 stars 29 forks source link

LESS: mixin calls in @keyframes statements #155

Closed dtrunk90 closed 11 years ago

dtrunk90 commented 11 years ago

Example:

.rotation {
    from {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
        -moz-transform: rotate(359deg);
        -ms-transform: rotate(359deg);
        -o-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@-webkit-keyframes rotate {
    .rotation; // mismatched input '.' expecting '}'
} // missing EOF at '}'

@-moz-keyframes rotate {
    .rotation;
}

@-ms-keyframes rotate {
    .rotation;
}

@-o-keyframes rotate {
    .rotation;
}

@keyframes rotate {
    .rotation;
}
vtst commented 11 years ago

Thanks. I can reproduce the issue. I'll investigate.

vtst commented 11 years ago

This is fixed in the codebase. Thanks for the bug report. Please note you should probably define '.rotation' as '.rotation()', otherwise the generated stylesheet will contains rules for '.rotation from' and '.rotation to'.

dtrunk90 commented 11 years ago

:+1: thank you