Support » Plugin: W3 Total Cache » [Plugin: W3 Total Cache] W3TC strips some CSS3 stuff in minifying

  • Daniel J. Lewis

    (@djosephdesign)


    I discovered a problem with minifying using either the default CSS minification or CSS Tidy.

    Here’s my CSS:

    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #5588dd), color-stop(100%, #2255aa));
    background: -webkit-linear-gradient(top, #5588dd, #2255aa);
    background: -moz-linear-gradient(top, #5588dd, #2255aa);
    background: -o-linear-gradient(top, #5588dd, #2255aa);
    background: linear-gradient(top, #5588dd, #2255aa);

    When I allow W3TC to do anything other than simply combining the CSS, it destroys my browser-compatibility and compresses the above to:

    background: linear-gradient(top, #5588dd, #2255aa);

    How can I fix this? I have a feeling this explains why webfonts also don’t work with W3TC—it’s stripping some of the browser-specific code.

    http://wordpress.org/extend/plugins/w3-total-cache/

Viewing 1 replies (of 1 total)
  • Plugin Author Frederick Townes

    (@fredericktownes)

    Tested with TwentyEleven CSS and added the code you supplied but it does not strip the browser specific rules when using Default CSS engine.

    Have you tested with minifying just the specific file that has issues? Also could you provide the CSS file in question and its minified version as well?

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: W3 Total Cache] W3TC strips some CSS3 stuff in minifying’ is closed to new replies.