1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed translateCssRules() possible regex issue

Discussion in 'Resolved Bug Reports' started by thedude, Aug 16, 2016.

  1. thedude

    thedude Well-Known Member

    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);
        }
    }
    
     
  2. Mike

    Mike XenForo Developer Staff Member

    This is fixed now, thanks.

    I've also removed some of our other auto-prefixing as it's no longer beneficial as the browsers that need it have no marketshare.
     
    Fethi.dz and thedude like this.

Share This Page