From 7faedbdd5f9d65058463274c7b5a408e15934063 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 8 Oct 2010 15:36:12 +0000 Subject: - Patch #460448 by sun: some CSS rules are broken once CSS aggregation is enabled. --- .../css_test_files/css_input_without_import.css | 38 ++++++++++++++++++++-- .../css_input_without_import.css.optimized.css | 2 +- .../css_input_without_import.css.unoptimized.css | 38 ++++++++++++++++++++-- 3 files changed, 71 insertions(+), 7 deletions(-) (limited to 'modules/simpletest/files') 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 index 89e2df24c..49eb1eef3 100644 --- a/modules/simpletest/files/css_test_files/css_input_without_import.css +++ b/modules/simpletest/files/css_test_files/css_input_without_import.css @@ -19,10 +19,9 @@ body { } /** - * CSS spec says that all whitespace is valid whitespace, so this selector should be just as - * good as the one above. + * CSS spec says that all whitespace is valid whitespace, so this selector + * should be just as good as the one above. */ - .this .is .a @@ -31,6 +30,39 @@ font: 1em/100% Verdana, sans-serif; color: #494949; } +some :pseudo .thing { + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; + filter: progid:DXImageTransform.Microsoft.Shadow(color=#000000, direction='180', strength='10'); + -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(color=#000000, direction='180', strength='10')"; +} + +::-moz-selection { + background: #000; + color:#fff; + +} +::selection { + background: #000; + color: #fff; +} + +@media print { + * { + background: #000 !important; + color: #fff !important; + } + @page { + margin: 0.5cm; + } +} + +@media screen and (max-device-width: 480px) { + background: #000; + color: #fff; +} + 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 index 6a90a8f76..c19251143 100644 --- 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 @@ -6,4 +6,4 @@ 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;} +.test{font:1em/100% Verdana,sans-serif;color:#494949;}some :pseudo .thing{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;filter:progid:DXImageTransform.Microsoft.Shadow(color=#000000,direction='180',strength='10');-ms-filter:"progid:DXImageTransform.Microsoft.Shadow(color=#000000,direction='180',strength='10')";}::-moz-selection{background:#000;color:#fff;}::selection{background:#000;color:#fff;}@media print{*{background:#000 !important;color:#fff !important;}@page{margin:0.5cm;}}@media screen and (max-device-width:480px){background:#000;color:#fff;}textarea,select{font:1em/160% Verdana,sans-serif;color:#494949;} 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 index 89e2df24c..49eb1eef3 100644 --- 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 @@ -19,10 +19,9 @@ body { } /** - * CSS spec says that all whitespace is valid whitespace, so this selector should be just as - * good as the one above. + * CSS spec says that all whitespace is valid whitespace, so this selector + * should be just as good as the one above. */ - .this .is .a @@ -31,6 +30,39 @@ font: 1em/100% Verdana, sans-serif; color: #494949; } +some :pseudo .thing { + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; + filter: progid:DXImageTransform.Microsoft.Shadow(color=#000000, direction='180', strength='10'); + -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(color=#000000, direction='180', strength='10')"; +} + +::-moz-selection { + background: #000; + color:#fff; + +} +::selection { + background: #000; + color: #fff; +} + +@media print { + * { + background: #000 !important; + color: #fff !important; + } + @page { + margin: 0.5cm; + } +} + +@media screen and (max-device-width: 480px) { + background: #000; + color: #fff; +} + textarea, select { font: 1em/160% Verdana, sans-serif; color: #494949; -- cgit v1.2.3