It seems that @import inside comments are still processed by Drupal, so the following line must be removed:

--- style.css.orig      2007-09-04 19:29:46.000000000 +0200
+++ style.css   2007-09-04 19:29:53.000000000 +0200
@@ -10,7 +10,6 @@


 @import "css/salamander1.css";
-/*@import "css/salamander2.css";*/

 @import "style-mini.css";

Comments

florian’s picture

It is strange to hear that Drupal process a commented '@import'. May I have a link to the page that do not validates as CSS compliant?

florian’s picture

Status: Reviewed & tested by the community » Closed (won't fix)
jcnventura’s picture

Version: 5.x-1.3 » 5.x-1.8
Status: Closed (won't fix) » Reviewed & tested by the community

Sorry for reactivating this, but it's nagging me again :(

The problem only shows up when CSS aggregation is turned on in "Administer » Site configuration » Performance".

Apparently, whatever is responsible for this in Drupal will remove the comment, but will leave the import directive.

Feel free to 'won't fix it' again.

I can't provide a link to my site, since I am switching to Aberdeen again until I develop some CSS to make the title look a little better.

João Ventura

florian’s picture

Status: Reviewed & tested by the community » Closed (fixed)