forked from AuroraMiddleware/gtk
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:
parent
e5948f5713
commit
8d28e2d8e9
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user