Posted by kkaefer on August 17, 2008 at 2:34pm
Jump to:
| Project: | Drupal core |
| Version: | 7.x-dev |
| Component: | base system |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
| Issue tags: | CSS aggregation |
Issue Summary
Make sure that CSS aggregator produces valid stylesheets (if the source stylesheets were valid.)
@importrules have to be at the beginning- Preserve CSS hacks
- Make sure compressed stylesheets are valid
- Make sure
@charsetis only there once and at the very beginning (cf. http://www.w3.org/International/questions/qa-css-charset)
Comments
#1
@charset rules have to be before @import rules (if any rules are left, e.g. when importing external stylesheets); see http://www.w3.org/TR/CSS21/cascade.html#at-import
#2
Make sure that all braces in a CSS file are properly closed or they may interfere with subsequent files.
#3
Postponed until test files are created.
http://drupal.org/node/296388#comment-988224
#4
tagging