summaryrefslogtreecommitdiff
path: root/modules/simpletest/files/css_test_files
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-05 02:48:39 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-05 02:48:39 +0000
commit1e23b91bc886b30e7a64c7c118a79071c706e39c (patch)
treea2172e7d3a286508ab738db0971657f7b545b3bf /modules/simpletest/files/css_test_files
parent93eb8b341392b5a04488d0d3a0a9d8136da6a2cf (diff)
downloadbrdo-1e23b91bc886b30e7a64c7c118a79071c706e39c.tar.gz
brdo-1e23b91bc886b30e7a64c7c118a79071c706e39c.tar.bz2
#472820 by rfay, Rob Loach, and catch: Fixed improper whitespace removal/invalid CSS from drupal_load_stylesheet_content() (with tests).
Diffstat (limited to 'modules/simpletest/files/css_test_files')
-rw-r--r--modules/simpletest/files/css_test_files/css_input_without_import.css38
-rw-r--r--modules/simpletest/files/css_test_files/css_input_without_import.css.optimized.css11
-rw-r--r--modules/simpletest/files/css_test_files/css_input_without_import.css.unoptimized.css38
3 files changed, 87 insertions, 0 deletions
diff --git a/modules/simpletest/files/css_test_files/css_input_without_import.css b/modules/simpletest/files/css_test_files/css_input_without_import.css
new file mode 100644
index 000000000..70ad5a66e
--- /dev/null
+++ b/modules/simpletest/files/css_test_files/css_input_without_import.css
@@ -0,0 +1,38 @@
+/* $Id$ */
+
+/**
+ * @file Basic css that does not use import
+ */
+
+
+body {
+ margin: 0;
+ padding: 0;
+ background: #edf5fa;
+ font: 76%/170% Verdana, sans-serif;
+ color: #494949;
+}
+
+.this .is .a .test {
+ font: 1em/100% Verdana, sans-serif;
+ color: #494949;
+}
+
+/**
+ * CSS spec says that all whitespace is valid whitespace, so this selector should be just as
+ * good as the one above.
+ */
+
+.this
+.is
+.a
+.test {
+font: 1em/100% Verdana, sans-serif;
+color: #494949;
+}
+
+textarea, select {
+ font: 1em/160% Verdana, sans-serif;
+ color: #494949;
+}
+
diff --git a/modules/simpletest/files/css_test_files/css_input_without_import.css.optimized.css b/modules/simpletest/files/css_test_files/css_input_without_import.css.optimized.css
new file mode 100644
index 000000000..bf139f490
--- /dev/null
+++ b/modules/simpletest/files/css_test_files/css_input_without_import.css.optimized.css
@@ -0,0 +1,11 @@
+
+
+
+
+
+body{margin:0;padding:0;background:#edf5fa;font:76%/170% Verdana,sans-serif;color:#494949;}.this .is .a .test{font:1em/100% Verdana,sans-serif;color:#494949;}
+
+.this
+.is
+.a
+.test{font:1em/100% Verdana,sans-serif;color:#494949;}textarea,select{font:1em/160% Verdana,sans-serif;color:#494949;} \ No newline at end of file
diff --git a/modules/simpletest/files/css_test_files/css_input_without_import.css.unoptimized.css b/modules/simpletest/files/css_test_files/css_input_without_import.css.unoptimized.css
new file mode 100644
index 000000000..70ad5a66e
--- /dev/null
+++ b/modules/simpletest/files/css_test_files/css_input_without_import.css.unoptimized.css
@@ -0,0 +1,38 @@
+/* $Id$ */
+
+/**
+ * @file Basic css that does not use import
+ */
+
+
+body {
+ margin: 0;
+ padding: 0;
+ background: #edf5fa;
+ font: 76%/170% Verdana, sans-serif;
+ color: #494949;
+}
+
+.this .is .a .test {
+ font: 1em/100% Verdana, sans-serif;
+ color: #494949;
+}
+
+/**
+ * CSS spec says that all whitespace is valid whitespace, so this selector should be just as
+ * good as the one above.
+ */
+
+.this
+.is
+.a
+.test {
+font: 1em/100% Verdana, sans-serif;
+color: #494949;
+}
+
+textarea, select {
+ font: 1em/160% Verdana, sans-serif;
+ color: #494949;
+}
+