testsuite: fix "empty" linear-gradient compare test

We need to provide color stops to avoid rounding errors with different
shaders.

That makes the empty linear gradient somewhat less empty, but I think
it's the emptiest we can make it.
This commit is contained in:
Benjamin Otte 2023-10-12 04:16:40 +02:00
parent 7325121c63
commit d1e091279c
2 changed files with 10 additions and 1 deletions

View File

@ -1 +1,10 @@
linear-gradient { }
linear-gradient {
stops: 0.2 red,
0.2 blue,
0.4 blue,
0.4 yellow,
0.6 yellow,
0.6 lime,
0.8 lime,
0.8 teal;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 B

After

Width:  |  Height:  |  Size: 166 B