diff options
author | Benjamin Otte <otte@redhat.com> | 2012-11-20 12:21:03 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-11-20 12:21:03 +0100 |
commit | 8d28e2d8e91811df08ee347706529abe5be20b9f (patch) | |
tree | 1b2a462cbdf47ad35bb566cf5448c0a134a1475a /tests | |
parent | e5948f571377531e4d5f55de4f244b15176ee07b (diff) | |
download | gtk+-8d28e2d8e91811df08ee347706529abe5be20b9f.tar.gz |
reftests: Fix linear-gradient reftest (again)
Make it so that the repeating vs normal test only uses sharp color
cutoffs instead of real gradients. That removes rounding errors and
makes the test pass.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/reftests/linear-gradient.css | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/reftests/linear-gradient.css b/tests/reftests/linear-gradient.css index ccfa62ac1d..ccb50d6f2d 100644 --- a/tests/reftests/linear-gradient.css +++ b/tests/reftests/linear-gradient.css @@ -28,11 +28,11 @@ } #c { - background-image: linear-gradient(3.5turn, red, lime 10px, red 20px, green 30px, red 40px); + background-image: linear-gradient(3.5turn, red, red 10px, lime 10px, lime 20px, red 20px, red 30px, lime 30px, lime 40px, red 40px); } #reference #c { - background-image: repeating-linear-gradient(to bottom, red, lime 10px, red 20px, green 30px, red 40px); + background-image: repeating-linear-gradient(to bottom, red, red 10px, lime 10px, lime 20px, red 20px); } #d { |