Package: csstidy
Severity: normal
Version: 1.4-3

Hi,

Some browsers have difficulties in parsing the compressed output produced by csstidy 1.3 and 1.4 (they expect a single/double quote for font-face / format). There are no problems with 1.2. See attachments.

Some examples:
csstidy uncompressed.css --preserve_css=true --template=low -- silent=true 1.3-1.4-non-mini-buggy.css csstidy uncompressed.css --preserve_css=true --template=highest -- optimise_shorthands=1 --remove_bslash=ftrue- -compress_colors=true -- silent=true -o 1.3-1.4-mini-buggy.css csstidy uncompressed.css --preserve_css=true --template=highest -- optimise_shorthands=1 --remove_bslash=ftrue- -compress_colors=true -- silent=true -o 1.2-mini.css


@font-face{font-family:"AllerBold";src:url("/extras/font/aller_bd-webfont.eot") format("eot");}@font-face{font-family:"AllerBold";src:url("/extras/font/aller_bd-webfont.woff") format("woff");}@font-face{font-family:"AllerLightRegular";src:url("/extras/font/aller_lt-webfont.eot") format("eot");}@font-face{font-family:"AllerLightRegular";src:url("/extras/font/aller_lt-webfont.woff") format("woff");}
@font-face{font-family:AllerBold;src:url(/extras/font/aller_bd-webfont.eot) format(eot);}@font-face{font-family:AllerBold;src:url(/extras/font/aller_bd-webfont.woff) format(woff);}@font-face{font-family:AllerLightRegular;src:url(/extras/font/aller_lt-webfont.eot) format(eot);}@font-face{font-family:AllerLightRegular;src:url(/extras/font/aller_lt-webfont.woff) format(woff);}
@font-face
{
	font-family:AllerBold;
	src:url(/extras/font/aller_bd-webfont.eot) format(eot);
}

@font-face
{
	font-family:AllerBold;
	src:url(/extras/font/aller_bd-webfont.woff) format(woff);
}

@font-face
{
	font-family:AllerLightRegular;
	src:url(/extras/font/aller_lt-webfont.eot) format(eot);
}

@font-face
{
	font-family:AllerLightRegular;
	src:url(/extras/font/aller_lt-webfont.woff) format(woff);
}
@font-face {
  font-family: "AllerBold";
  src: url("/extras/font/aller_bd-webfont.eot") format("eot");
}
@font-face {
  font-family: "AllerBold";
  src: url("/extras/font/aller_bd-webfont.woff") format("woff");
}
@font-face {
  font-family: "AllerLightRegular";
  src: url("/extras/font/aller_lt-webfont.eot") format("eot");
}
@font-face {
  font-family: "AllerLightRegular";
  src: url("/extras/font/aller_lt-webfont.woff") format("woff");
}


Regards,
Stefan

Reply via email to