alexo / wro4j

New project location is:https://github.com/wro4j/wro4j
442 stars 110 forks source link

CSS Import Processor not handling media specified in @import #138

Open gulench opened 11 years ago

gulench commented 11 years ago

Consider the following CSS files:

screen.css:

body {
  background: white;
}

print.css:

body {
  background: none;
}

all.css:

@import 'screen.css' screen, projection;
@import 'print.css' print;

The generated CSS file for all.css does not appropriately contain the media specified in the @import lines; resulting CSS file is shown below:

body {
  background: white;
}
body {
  background: none;
} screen, projection;
 print;
alexo commented 11 years ago

Thanks for reporting this issue.