[SPIP] +version 3.0.7
[ptitvelo/web/www.git] / www / plugins-dist / compresseur / lib / csstidy / testing / unit-tests / csst / shorthands / background-general.csst
diff --git a/www/plugins-dist/compresseur/lib/csstidy/testing/unit-tests/csst/shorthands/background-general.csst b/www/plugins-dist/compresseur/lib/csstidy/testing/unit-tests/csst/shorthands/background-general.csst
new file mode 100644 (file)
index 0000000..fe78a61
--- /dev/null
@@ -0,0 +1,19 @@
+--TEST--
+Test general background optimization
+--CSS--
+a { 
+    background-color: white;
+    background-image: url(123);
+    background-repeat: no-repeat;
+    background-position: 1px 1px;
+    background-attachment: scroll;
+}
+--EXPECT--
+array (
+  'a' => 
+  array (
+    'background' => 'url(123) no-repeat 1px 1px #fff',
+  ),
+)
+--SETTINGS--
+optimise_shorthands=3
\ No newline at end of file