[gtk+] Stop using one-stop gradients in reftests



commit 0f329195035eddc5dbc5f640bf4eb58348b439c5
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jul 26 07:25:01 2016 -0400

    Stop using one-stop gradients in reftests
    
    This is causing warnings now that make the tests fail.

 testsuite/reftests/background-image-multiple.css |   10 +++++-----
 testsuite/reftests/background-size-zero.css      |    2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/testsuite/reftests/background-image-multiple.css 
b/testsuite/reftests/background-image-multiple.css
index ee7c156..b254f42 100644
--- a/testsuite/reftests/background-image-multiple.css
+++ b/testsuite/reftests/background-image-multiple.css
@@ -1,29 +1,29 @@
 @import "reset-to-defaults.css";
 
 #button1 {
-    background-image: linear-gradient(alpha(red, 0.50)), linear-gradient(lime);
+    background-image: linear-gradient(alpha(red, 0.50),alpha(red,0.50)), linear-gradient(lime,lime);
 }
 
 #button2 {
     background-color: lime;
-    background-image: linear-gradient(alpha(red, 0.50)), linear-gradient(transparent);
+    background-image: linear-gradient(alpha(red, 0.50),alpha(red,0.50)), 
linear-gradient(transparent,transparent);
 }
 
 #button3 {
     padding: 12px;
-    background-image: linear-gradient(alpha(red, 0.50)), linear-gradient(lime);
+    background-image: linear-gradient(alpha(red, 0.50),alpha(red,0.50)), linear-gradient(lime,lime);
     background-clip: content-box;
 }
 
 #button4 {
     padding: 12px;
-    background-image: linear-gradient(red), linear-gradient(lime);
+    background-image: linear-gradient(red,red), linear-gradient(lime,lime);
     background-clip: content-box, padding-box;
 }
 
 #button5 {
     padding: 12px;
-    background-image: linear-gradient(red), linear-gradient(transparent);
+    background-image: linear-gradient(red,red), linear-gradient(transparent,transparent);
     background-clip: content-box, padding-box;
     background-color: lime;
 }
diff --git a/testsuite/reftests/background-size-zero.css b/testsuite/reftests/background-size-zero.css
index a94bc82..8e9389b 100644
--- a/testsuite/reftests/background-size-zero.css
+++ b/testsuite/reftests/background-size-zero.css
@@ -1,7 +1,7 @@
 @import "reset-to-defaults.css";
 
 .background {
-  background-image: linear-gradient(to right, blue);
+  background-image: linear-gradient(to right, blue, blue);
   background-size: 0%;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]