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.
This commit is contained in:
Benjamin Otte 2012-11-20 12:21:03 +01:00
parent e5948f5713
commit 8d28e2d8e9

View File

@ -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 {