Bugfixes and improved CSS minifier
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()
andhsl()
with spaces instead of commas - CSS: improve minification for
font
,background
,background-position
,background-repeat
,background-size
,outline
andborder
declarations - CSS: reintroduce support for IE star-declaration hack
- CSS bugfix:
margin
andpadding
now check if values that are functions (such ascalc()
) 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 ininput[type="radio" i]
- CSS bugfix: do not collapse
outline
to0
but tonone
- CSS bugfix: opacity for
rgba()
andhsla()
in CSS2 cannot be rewritten as#rrggbbaa
- SVG bugfix: only use the first pair of coordinates for
M
to move back to when encounteringZ