Subject: | CSS::Minifier::XS breaks hsl() |
The W3C specification of the CSS hsl()- and hsla()-color functions says:
'Saturation and lightness are represented as percentages.'
(see http://www.w3.org/TR/2003/CR-css3-color-20030514/#hsl-color).
CSS::Minifier::XS removes the percentage sign of the saturation value and therefore breaks the hsl()- and hsla()-color-functions. Here is an example:
.foo { background-color: hsl(0,50%,50%); }
becomes
.foo { background-color: hsl(0,50,50%); }
which is not valid CSS and browsers ignore the background-color property.