• Resolved Tofandel

    (@tofandel)


    The css minification doesn’t work correctly with special selectors

    input[type="radio"]:checked + img {
        border: 5px solid #0083ca;
    }

    The previous code will minify to

    input[type="radio"]:checked img{
    border: 5px solid #0083ca
    }

    As you can see the + has been dropped making this a completely different selector


    Obviously checking “Disable CSS Files Minification” is a way to avoid it, but then the plugin has little purpose

Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Invalid css minification’ is closed to new replies.