Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Cerdic committed Nov 14, 2010
1 parent e1ff640 commit 7d784b8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions testing/unit-tests/csst/vendor-prefixed/webkit-gradient.csst
Original file line number Diff line number Diff line change
@@ -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,#66cc00))',
),
'.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'

0 comments on commit 7d784b8

Please sign in to comment.