stylesheet does not work with CSS aggregattion

mavimo - January 14, 2009 - 19:46
Project:Code Filter
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Sorry, anyone can explain me why is not possible compress codefilter.css file into other CSS?
into code you use:

<?php
/**
* Implementation of hook_init()
*
* Adds the codefilter stylesheet to the page
*/
function codefilter_init() {
 
drupal_add_css(drupal_get_path('module', 'codefilter') .'/codefilter.css', 'module', 'all', FALSE);
}
?>

i change it into:
<?php
/**
* Implementation of hook_init()
*
* Adds the codefilter stylesheet to the page
*/
function codefilter_init() {
 
drupal_add_css(drupal_get_path('module', 'codefilter') .'/codefilter.css', 'module', 'all', TRUE);
}
?>

and file is compress, this can cause some problem?

#1

JohnAlbin - January 14, 2009 - 20:07
Title:Adding CSS witout compression aviabilty» stylesheet does not work with CSS aggregattion
Category:support request» bug report

That definitely sounds like a bug.

#2

gausarts - June 5, 2009 - 20:04

Hi,
I confirm that it refuses to be aggregated. Thanks

 
 

Drupal is a registered trademark of Dries Buytaert.