Fixed translateCssRules() possible regex issue

thedude

Well-known member
#1
Using an @supports condition to test for browser transform support, XF will change a CSS template from
Code:
@supports (transform: scale(0)) {
    #xyz {
        transition: .3s cubic-bezier(.4,.2,.5,1.4);
    }
}
to the following, in its final outputted form:
Code:
@supports (-webkit-transform:  scale(0)) {
    #xyz {
        transition: .3s cubic-bezier(.4,.2,.5,1.4); -moz-transform:  scale(0)) {
    #xyz {
        transition: .3s cubic-bezier(.4,.2,.5,1.4); -o-transform:  scale(0)) {
    #xyz {
        transition: .3s cubic-bezier(.4,.2,.5,1.4); -ms-transform:  scale(0)) {
    #xyz {
        transition: .3s cubic-bezier(.4,.2,.5,1.4);transform: scale(0)) {
    #xyz {
        transition: .3s cubic-bezier(.4,.2,.5,1.4);
    }
}
 
Top