zikula/core — Issue #179: CSS combine problems with CSS comments
Author: hvorragend
Created: 2011-11-25 14:44:45+00:00
State: open
Labels: Bug

It looks like that the CSS combine has a problem with all our CSS comments.

* CSS/JS combination is enabled
* GZ compression is disabled
* Minify CSS is disabled

I recognized this because I missed some space around the admin breadcrumb if CSS combine is enabled. The first css rule after each comment seems to be ignored

*systen\Admin\style\style.css*

This is the current syntax and the rule doesn't work in the combined file. The rule exists, but it is skipped.

```
/******************************************************************************/
/* Admin breadcrumbs
/******************************************************************************/

#z-maincontent .z-admin-breadcrumbs {
color: #777;
font-size: 0.95em;
margin-bottom: 1em;
}
```

If I change the CSS comments to the following syntax, then it works without any problem.

```
/******************************************************************************
Admin breadcrumbs
******************************************************************************/

#z-maincontent .z-admin-breadcrumbs {
color: #777;
font-size: 0.95em;
margin-bottom: 1em;
}
```

The question is:
Should I change now all CSS comments?
Or is there a simpler and faster solution?