[SPIP] +version 3.0.7
[ptitvelo/web/www.git] / www / plugins-dist / compresseur / lib / csstidy / testing / unit-tests / csst / properties / multiple-properties.csst
diff --git a/www/plugins-dist/compresseur/lib/csstidy/testing/unit-tests/csst/properties/multiple-properties.csst b/www/plugins-dist/compresseur/lib/csstidy/testing/unit-tests/csst/properties/multiple-properties.csst
new file mode 100644 (file)
index 0000000..31283f1
--- /dev/null
@@ -0,0 +1,21 @@
+--TEST--
+Support for multiple background properties.
+--CSS--
+body {
+       background: linear-gradient(bottom, rgb(153,102,51) 0%, rgb(51,153,102) 30%, rgb(102,51,153) 100%);
+       background: -o-linear-gradient(bottom, rgb(153,102,51) 0%, rgb(51,153,102) 30%, rgb(102,51,153) 100%);
+       background: -moz-linear-gradient(bottom, rgb(153,102,51) 0%, rgb(51,153,102) 30%, rgb(102,51,153) 100%);
+       background: -webkit-linear-gradient(bottom, rgb(153,102,51) 0%, rgb(51,153,102) 30%, rgb(102,51,153) 100%);
+       background: -ms-linear-gradient(bottom, rgb(153,102,51) 0%, rgb(51,153,102) 30%, rgb(102,51,153) 100%);
+}
+--EXPECT--
+array (
+  'body' =>
+  array (
+    'background' => 'linear-gradient(bottom,#963 0%,#396 30%,#639 100%)',
+    'background ' => '-o-linear-gradient(bottom,#963 0%,#396 30%,#639 100%)',
+    'background  ' => '-moz-linear-gradient(bottom,#963 0%,#396 30%,#639 100%)',
+    'background   ' => '-webkit-linear-gradient(bottom,#963 0%,#396 30%,#639 100%)',
+    'background    ' => '-ms-linear-gradient(bottom,#963 0%,#396 30%,#639 100%)',
+  ),
+)