minify v2.3.6 Release Notes

Release Date: 2018-10-26 // over 5 years ago
  • 0๏ธโƒฃ Important: default mimetype for JavaScript is now application/javascript (it used to be text/javascript).

    • ๐Ÿ›  HTML bugfix: keep empty value attribute on <input type="radio">, because the default is not an empty string
    • ๐Ÿ›  HTML bugfix: prevent IE conditional comments from panicking in some instances
    • CSS: handle local() for URLs
    • ๐Ÿ‘ CSS: support rgb() and hsl() with spaces instead of commas
    • CSS: improve minification for font, background, background-position, background-repeat, background-size, outline and border declarations
    • ๐Ÿ‘ CSS: reintroduce support for IE star-declaration hack
    • ๐Ÿ›  CSS bugfix: margin and padding now check if values that are functions (such as calc()) are equal and thus eligible for collapsing
    • ๐Ÿ›  CSS bugfix: parse bad declarations better
    • ๐Ÿ›  CSS bugfix: add space for attribute selector case insensitivity between the value and i as in input[type="radio" i]
    • ๐Ÿ›  CSS bugfix: do not collapse outline to 0 but to none
    • ๐Ÿ›  CSS bugfix: opacity for rgba() and hsla() in CSS2 cannot be rewritten as #rrggbbaa
    • ๐Ÿ›  SVG bugfix: only use the first pair of coordinates for M to move back to when encountering Z