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
committed by Matthias Clasen
parent 537034c2ad
commit ec2d51beb2

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 {