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 301fa13 commit e1ff640
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions testing/unit-tests/csst/properties/preserve-merging.csst
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
--TEST--
Preserve merging of properties issue/2
--CSS--
div {
display:block;
display:inline-block;
}
.gradient {
background-image:-webkit-gradient(linear, left bottom, left top, color-stop(0.15, rgba(215,240,240,0.9)), color-stop(0.5, rgba(235,250,250,0)));
background-image: -moz-linear-gradient(bottom,rgba(215,240,240,0.9),rgba(235,250,250,0)) #ebf7f9;
}
--EXPECT--
array (
'div' =>
array (
'display' => 'block',
'display ' => 'inline-block',
),
'.gradient' =>
array (
'background-image' => '-webkit-gradient(linear, left bottom, left top, color-stop(0.15, rgba(215,240,240,0.9)), color-stop(0.5, rgba(235,250,250,0)))',
'background-image ' => '-moz-linear-gradient(bottom,rgba(215,240,240,0.9),rgba(235,250,250,0)) #ebf7f9',
),
)
--SETTINGS--
discard_invalid_properties=false
optimise_shorthands=0
css_level='CSS21'

0 comments on commit e1ff640

Please sign in to comment.