From 436ddca9fbf0eb955a06b5262e8f2ba1e9d25afd Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 7 Jan 2010 07:45:03 +0000 Subject: #265719 by kkaefer, JacobSingh, ksenzee, and rfay: Fixed CSS aggregator produces invalid code and directory names for @import files which breaks IE (with tests). --- modules/simpletest/tests/common.test | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/simpletest/tests') diff --git a/modules/simpletest/tests/common.test b/modules/simpletest/tests/common.test index c44d2947e..e1a45dad2 100644 --- a/modules/simpletest/tests/common.test +++ b/modules/simpletest/tests/common.test @@ -757,7 +757,9 @@ class CascadingStylesheetsUnitTest extends DrupalUnitTestCase { * * This can be enhanced by adding additional CSS files with variant test cases. * Currently, this is specifically testing to make sure that whitespace - * is treated with adequate respect (not arbitrarily removing linefeeds). + * is treated with adequate respect (see http://drupal.org/node/472820) and + * that image paths in imported files are preserved (see + * http://drupal.org/node/265719). */ function testLoadCssBasic() { // Array of files to test living in 'simpletest/files/css_test_files/'. @@ -766,6 +768,7 @@ class CascadingStylesheetsUnitTest extends DrupalUnitTestCase { // - Optimized expected content: name.css.optimized.css $testfiles = array( 'css_input_without_import.css', + 'css_input_with_import.css' ); $path = drupal_get_path('module', 'simpletest') . '/files/css_test_files'; foreach ($testfiles as $file) { -- cgit v1.2.3