From d1e091279cec393c5c4a6d232a869e59efbef07f Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 12 Oct 2023 04:16:40 +0200 Subject: [PATCH] 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. --- .../gsk/compare/empty-linear-gradient.node | 11 ++++++++++- testsuite/gsk/compare/empty-linear-gradient.png | Bin 203 -> 166 bytes 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/testsuite/gsk/compare/empty-linear-gradient.node b/testsuite/gsk/compare/empty-linear-gradient.node index ef6234b661..50b00cfb16 100644 --- a/testsuite/gsk/compare/empty-linear-gradient.node +++ b/testsuite/gsk/compare/empty-linear-gradient.node @@ -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; +} diff --git a/testsuite/gsk/compare/empty-linear-gradient.png b/testsuite/gsk/compare/empty-linear-gradient.png index f0e1db0e2783d9e195dc29796761786cbe0a6ba4..11e03065aec2f6e53dad7fa8dd450cb48be21c2c 100644 GIT binary patch delta 149 zcmX@jxQuavWIY=L1B0A>$3`HP>*?YclF|6~`bEwI20TYD6rX(X_Q^XTw(bSy2RZ9o zLe%GS+uUYeCgGIK(W_|Eb|K`_zBeju7ohyBZ|BP%6_9ey;8|$c^6bjDCdKP9N8tP? j)!WT`c05ypE4RP9iX&0zDc^xwpv?@Pu6{1-oD!M&6h2cL4F4((#GEk(!)5S3)qV?_6je-pZJV!dt zzp>|#7UB}~n7DqC(=3PdpKm_alzx0MtM*o+BmXk7lBfXPoFl)t9A;8h3s@eiAKY!J zTdv)(D)k7%Dls#q&!N>%zdw98E$X&}VIxTJ-Bfque=aZ;(*&7!gv+gbn#cNMmGBP1 eiBWDmKNwF08BeTDoRR}{41=eupUXO@geCxWCrugv