[gtk/wip/otte/reftests] reftests: Fix treeview-fixed-height test



commit ac868b682c92f056a8af1c2d76fd95f2ddbf8622
Author: Benjamin Otte <otte redhat com>
Date:   Wed Mar 27 04:53:56 2019 +0100

    reftests: Fix treeview-fixed-height test
    
    Convert -gtk-gradient() to linear-gradient in the CSS.

 testsuite/reftests/treeview-fixed-height.css | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)
---
diff --git a/testsuite/reftests/treeview-fixed-height.css b/testsuite/reftests/treeview-fixed-height.css
index 4ac59da430..a448ebca15 100644
--- a/testsuite/reftests/treeview-fixed-height.css
+++ b/testsuite/reftests/treeview-fixed-height.css
@@ -54,23 +54,19 @@ GtkCheckButton:selected {
 /* GRADIENTS */
 
 button, .notebook tab:active, .slider {
-    background-image: -gtk-gradient (linear, left top, left bottom,
-     from (shade (@color_base, 1.2)), to (@color_base));
+    background-image: linear-gradient(to bottom, shade (@color_base, 1.2), @color_base);
 }
 
 button:active, .notebook tab, .trough {
-    background-image: -gtk-gradient (linear, left top, left bottom,
-     from (shade (@color_base, 0.8)), to (@color_base));
+    background-image: linear-gradient(to bottom, shade (@color_base, 0.8), @color_base);
 }
 
 button.vertical, .slider.vertical {
-    background-image: -gtk-gradient (linear, left top, right top,
-     from (shade (@color_base, 1.2)), to (@color_base));
+    background-image: linear-gradient(to right, shade (@color_base, 1.2), @color_base);
 }
 
 button.vertical:active, .trough.vertical {
-    background-image: -gtk-gradient (linear, left top, right top,
-     from (shade (@color_base, 0.8)), to (@color_base));
+    background-image: linear-gradient(to right, shade (@color_base, 0.8), @color_base);
 }
 
 column-header > .button {
@@ -78,14 +74,12 @@ column-header > .button {
 }
 
 .progressbar {
-    background-image: -gtk-gradient (linear, left top, left bottom,
-     from (shade (@color_sel, 1.2)), to (@color_sel));
+    background-image: linear-gradient(to bottom, shade (@color_sel, 1.2), @color_sel);
     border-color: shade (@color_sel, 0.7);
 }
 
 .progressbar.vertical {
-    background-image: -gtk-gradient (linear, left top, right top,
-     from (shade (@color_sel, 1.2)), to (@color_sel));
+    background-image: linear-gradient(to right, shade (@color_sel, 1.2), @color_sel);
 }
 
 /* SPACING */


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