[SPIP] +version 3.0.7
[ptitvelo/web/www.git] / www / plugins-dist / compresseur / lib / csstidy / testing / unit-tests / csst / vendor-prefixed / webkit-gradient.csst
diff --git a/www/plugins-dist/compresseur/lib/csstidy/testing/unit-tests/csst/vendor-prefixed/webkit-gradient.csst b/www/plugins-dist/compresseur/lib/csstidy/testing/unit-tests/csst/vendor-prefixed/webkit-gradient.csst
new file mode 100644 (file)
index 0000000..3ddf50c
--- /dev/null
@@ -0,0 +1,24 @@
+--TEST--
+-webkit-gradient properties issue/3
+--CSS--
+.linear {
+       background: -webkit-gradient(linear, left top, left bottom, from(#00abeb), to(#fff), color-stop(0.5, #fff), color-stop(0.5, #66cc00));
+}
+.radial {
+       background: -webkit-gradient(radial, 45 45, 10, 52 50, 30, from(#A7D30C), to(rgba(1,159,98,0)), color-stop(90%, #019F62));
+}
+--EXPECT--
+array (
+       '.linear' =>
+       array (
+               'background' => '-webkit-gradient(linear,left top,left bottom,from(#00abeb),to(#fff),color-stop(0.5,#fff),color-stop(0.5,#6c0))',
+       ),
+       '.radial' =>
+       array (
+               'background' => '-webkit-gradient(radial,45 45,10,52 50,30,from(#A7D30C),to(rgba(1,159,98,0)),color-stop(90%,#019F62))',
+       ),
+)
+--SETTINGS--
+discard_invalid_properties=false
+optimise_shorthands=0
+css_level='CSS21'
\ No newline at end of file