[gtk+/gtk-3-6] reftests: Turns out, green changed color



commit 537034c2adab20129b3911fc15a3f9a205d9a28e
Author: Benjamin Otte <otte redhat com>
Date:   Tue Nov 13 21:41:08 2012 +0100

    reftests: Turns out, green changed color
    
    What used to be "green" is now "lime"

 tests/reftests/alignment-props.css                 |    2 +-
 tests/reftests/background-image-multiple.css       |   12 +++++-----
 tests/reftests/background-position.css             |    2 +-
 tests/reftests/background-repeat.css               |    2 +-
 tests/reftests/background-window-transparent.css   |    4 +-
 tests/reftests/border-image-excess-size.css        |    2 +-
 tests/reftests/border-image-gradient.css           |    6 ++--
 tests/reftests/border-image-url.css                |    2 +-
 tests/reftests/border-style.css                    |    2 +-
 tests/reftests/box-expand.css                      |    2 +-
 tests/reftests/box-packing.css                     |    4 +-
 tests/reftests/box-pseudo-classes.css              |    6 ++--
 tests/reftests/css-match-class.css                 |    2 +-
 tests/reftests/css-match-exact.css                 |    2 +-
 .../reftests/css-match-inherit-different-state.css |    2 +-
 tests/reftests/css-match-name.css                  |    2 +-
 tests/reftests/css-match-siblings.css              |    4 +-
 tests/reftests/css-match-subtype.css               |    2 +-
 tests/reftests/css-match-type.css                  |    2 +-
 tests/reftests/css-multi-state.css                 |    2 +-
 tests/reftests/grid-expand.css                     |    2 +-
 tests/reftests/grid-homogeneous.css                |    4 +-
 tests/reftests/grid-spacing3.css                   |    4 +-
 tests/reftests/linear-gradient.css                 |   23 +++++++++++++------
 tests/reftests/nth-child.css                       |    8 +++---
 25 files changed, 57 insertions(+), 48 deletions(-)
---
diff --git a/tests/reftests/alignment-props.css b/tests/reftests/alignment-props.css
index 9313662..4abe303 100644
--- a/tests/reftests/alignment-props.css
+++ b/tests/reftests/alignment-props.css
@@ -3,6 +3,6 @@
 }
 
 #green {
-  background-color: green;
+  background-color: lime;
 }
 
diff --git a/tests/reftests/background-image-multiple.css b/tests/reftests/background-image-multiple.css
index 69efbba..ee7c156 100644
--- a/tests/reftests/background-image-multiple.css
+++ b/tests/reftests/background-image-multiple.css
@@ -1,23 +1,23 @@
 @import "reset-to-defaults.css";
 
 #button1 {
-    background-image: linear-gradient(alpha(red, 0.50)), linear-gradient(green);
+    background-image: linear-gradient(alpha(red, 0.50)), linear-gradient(lime);
 }
 
 #button2 {
-    background-color: green;
+    background-color: lime;
     background-image: linear-gradient(alpha(red, 0.50)), linear-gradient(transparent);
 }
 
 #button3 {
     padding: 12px;
-    background-image: linear-gradient(alpha(red, 0.50)), linear-gradient(green);
+    background-image: linear-gradient(alpha(red, 0.50)), linear-gradient(lime);
     background-clip: content-box;
 }
 
 #button4 {
     padding: 12px;
-    background-image: linear-gradient(red), linear-gradient(green);
+    background-image: linear-gradient(red), linear-gradient(lime);
     background-clip: content-box, padding-box;
 }
 
@@ -25,7 +25,7 @@
     padding: 12px;
     background-image: linear-gradient(red), linear-gradient(transparent);
     background-clip: content-box, padding-box;
-    background-color: green;
+    background-color: lime;
 }
 
 #ref1,
@@ -41,7 +41,7 @@
 
 #ref4-bg,
 #ref5-bg {
-    background-color: green;
+    background-color: lime;
 }
 
 #ref4-fg,
diff --git a/tests/reftests/background-position.css b/tests/reftests/background-position.css
index ee11380..aff4d15 100644
--- a/tests/reftests/background-position.css
+++ b/tests/reftests/background-position.css
@@ -8,7 +8,7 @@
 
 .button#ref {
   background-image: none;
-  background-color: green;
+  background-color: lime;
 }
 
 GtkWindow#ref {
diff --git a/tests/reftests/background-repeat.css b/tests/reftests/background-repeat.css
index 4b51e1f..d7165e1 100644
--- a/tests/reftests/background-repeat.css
+++ b/tests/reftests/background-repeat.css
@@ -26,5 +26,5 @@
 
 #default-ref {
   background-image: none;
-  background-color: green;
+  background-color: lime;
 }
diff --git a/tests/reftests/background-window-transparent.css b/tests/reftests/background-window-transparent.css
index d6054ba..af5e534 100644
--- a/tests/reftests/background-window-transparent.css
+++ b/tests/reftests/background-window-transparent.css
@@ -1,5 +1,5 @@
 @import "reset-to-defaults.css";
 
-GtkWindow { background-color: green; }
+GtkWindow { background-color: lime; }
 
-#reference * { background-color: green; }
+#reference * { background-color: lime; }
diff --git a/tests/reftests/border-image-excess-size.css b/tests/reftests/border-image-excess-size.css
index ffad2d9..d6644f2 100644
--- a/tests/reftests/border-image-excess-size.css
+++ b/tests/reftests/border-image-excess-size.css
@@ -10,7 +10,7 @@
 }
 
 GtkGrid * {
-  background-color: green;
+  background-color: lime;
   border-style: none;
   border-width: 0;
 }
diff --git a/tests/reftests/border-image-gradient.css b/tests/reftests/border-image-gradient.css
index 6cfe444..38e6657 100644
--- a/tests/reftests/border-image-gradient.css
+++ b/tests/reftests/border-image-gradient.css
@@ -10,15 +10,15 @@
 .button-image {
   border-image-source: -gtk-gradient(linear,
                                      left top, left bottom,
-                                     from(green),
-                                     to(green));
+                                     from(lime),
+                                     to(lime));
   border-image-slice: 1;
   border-image-repeat: stretch;
   border-width: 1px 2px 2px 1px;
 }
 
 .button-not-image {
-  border-color: green;
+  border-color: lime;
   border-style: solid;
   border-width: 1px 2px 2px 1px;
 }
diff --git a/tests/reftests/border-image-url.css b/tests/reftests/border-image-url.css
index da06b72..b5a1457 100644
--- a/tests/reftests/border-image-url.css
+++ b/tests/reftests/border-image-url.css
@@ -8,7 +8,7 @@
 }
 
 .button-not-image {
-  border-color: green;
+  border-color: lime;
 
   border-style: solid;
   border-width: 1px 2px 2px 1px;
diff --git a/tests/reftests/border-style.css b/tests/reftests/border-style.css
index cf770d9..d295cb6 100644
--- a/tests/reftests/border-style.css
+++ b/tests/reftests/border-style.css
@@ -2,7 +2,7 @@
 
 GtkButton {
   background-color: red;
-  border-color: green;
+  border-color: lime;
   border-width: 1px;
 }
 
diff --git a/tests/reftests/box-expand.css b/tests/reftests/box-expand.css
index 3549d52..87409fc 100644
--- a/tests/reftests/box-expand.css
+++ b/tests/reftests/box-expand.css
@@ -1,3 +1,3 @@
 GtkEventBox {
-  background-color: green
+  background-color: lime
 }
diff --git a/tests/reftests/box-packing.css b/tests/reftests/box-packing.css
index 9313662..7d3df2a 100644
--- a/tests/reftests/box-packing.css
+++ b/tests/reftests/box-packing.css
@@ -2,7 +2,7 @@
   background-color: red;
 }
 
-#green {
-  background-color: green;
+#lime {
+  background-color: lime;
 }
 
diff --git a/tests/reftests/box-pseudo-classes.css b/tests/reftests/box-pseudo-classes.css
index dd6394b..a89abed 100644
--- a/tests/reftests/box-pseudo-classes.css
+++ b/tests/reftests/box-pseudo-classes.css
@@ -16,7 +16,7 @@
 }
 
 .button:nth-child(last):nth-child(even) {
-  background-color: green;
+  background-color: lime;
 }
 
 .button:nth-child(last):nth-child(odd) {
@@ -33,8 +33,8 @@
   background-color: red;
 }
 
-#green {
-  background-color: green;
+#lime {
+  background-color: lime;
 }
 
 #purple {
diff --git a/tests/reftests/css-match-class.css b/tests/reftests/css-match-class.css
index 568a6c6..068b9cf 100644
--- a/tests/reftests/css-match-class.css
+++ b/tests/reftests/css-match-class.css
@@ -3,7 +3,7 @@
 .window {
   engine: none;
   background-image: none;
-  background-color: green;
+  background-color: lime;
   border-radius: 0;
   border-style: none;
 }
diff --git a/tests/reftests/css-match-exact.css b/tests/reftests/css-match-exact.css
index 84723cd..f1b31ec 100644
--- a/tests/reftests/css-match-exact.css
+++ b/tests/reftests/css-match-exact.css
@@ -1,7 +1,7 @@
 @import "reset-to-defaults.css";
 
 * {
-  background-color: green;
+  background-color: lime;
 }
 
 GtkGrid {
diff --git a/tests/reftests/css-match-inherit-different-state.css b/tests/reftests/css-match-inherit-different-state.css
index 841d64a..d164300 100644
--- a/tests/reftests/css-match-inherit-different-state.css
+++ b/tests/reftests/css-match-inherit-different-state.css
@@ -1,6 +1,6 @@
 *,
 #reference {
-  color: green;
+  color: lime;
 }
 
 :insensitive {
diff --git a/tests/reftests/css-match-name.css b/tests/reftests/css-match-name.css
index 8af84df..d33f3fc 100644
--- a/tests/reftests/css-match-name.css
+++ b/tests/reftests/css-match-name.css
@@ -3,7 +3,7 @@
 #window {
   engine: none;
   background-image: none;
-  background-color: green;
+  background-color: lime;
   border-radius: 0;
   border-style: none;
 }
diff --git a/tests/reftests/css-match-siblings.css b/tests/reftests/css-match-siblings.css
index 6529bcb..baf2e7d 100644
--- a/tests/reftests/css-match-siblings.css
+++ b/tests/reftests/css-match-siblings.css
@@ -4,8 +4,8 @@
 }
 
 * ~ * ~ GtkLabel,
-#green {
-  color: green;
+#lime {
+  color: lime;
 }
 
 * ~ * + GtkLabel ~ *,
diff --git a/tests/reftests/css-match-subtype.css b/tests/reftests/css-match-subtype.css
index 3e2e2a8..e6e896f 100644
--- a/tests/reftests/css-match-subtype.css
+++ b/tests/reftests/css-match-subtype.css
@@ -3,7 +3,7 @@
 GtkContainer {
   engine: none;
   background-image: none;
-  background-color: green;
+  background-color: lime;
   border-radius: 0;
   border-style: none;
 }
diff --git a/tests/reftests/css-match-type.css b/tests/reftests/css-match-type.css
index 330b813..73fb465 100644
--- a/tests/reftests/css-match-type.css
+++ b/tests/reftests/css-match-type.css
@@ -3,7 +3,7 @@
 GtkWindow {
   engine: none;
   background-image: none;
-  background-color: green;
+  background-color: lime;
   border-radius: 0;
   border-style: none;
 }
diff --git a/tests/reftests/css-multi-state.css b/tests/reftests/css-multi-state.css
index b3b96fc..73a1753 100644
--- a/tests/reftests/css-multi-state.css
+++ b/tests/reftests/css-multi-state.css
@@ -1,6 +1,6 @@
 GtkLabel:active,
 #reference:insensitive {
-  color: green;
+  color: lime;
 }
 
 GtkLabel:insensitive,
diff --git a/tests/reftests/grid-expand.css b/tests/reftests/grid-expand.css
index 3549d52..87409fc 100644
--- a/tests/reftests/grid-expand.css
+++ b/tests/reftests/grid-expand.css
@@ -1,3 +1,3 @@
 GtkEventBox {
-  background-color: green
+  background-color: lime
 }
diff --git a/tests/reftests/grid-homogeneous.css b/tests/reftests/grid-homogeneous.css
index 9313662..7d3df2a 100644
--- a/tests/reftests/grid-homogeneous.css
+++ b/tests/reftests/grid-homogeneous.css
@@ -2,7 +2,7 @@
   background-color: red;
 }
 
-#green {
-  background-color: green;
+#lime {
+  background-color: lime;
 }
 
diff --git a/tests/reftests/grid-spacing3.css b/tests/reftests/grid-spacing3.css
index 9313662..7d3df2a 100644
--- a/tests/reftests/grid-spacing3.css
+++ b/tests/reftests/grid-spacing3.css
@@ -2,7 +2,7 @@
   background-color: red;
 }
 
-#green {
-  background-color: green;
+#lime {
+  background-color: lime;
 }
 
diff --git a/tests/reftests/linear-gradient.css b/tests/reftests/linear-gradient.css
index d6ed0d0..61e4ed2 100644
--- a/tests/reftests/linear-gradient.css
+++ b/tests/reftests/linear-gradient.css
@@ -5,31 +5,40 @@
  *   The start and end points must be identical when drawing
  * This means that you cannot:
  * ... add extra color stops, even if they'd be invisible
- * ... mirror the gradient (ie 'to left, red, green' vs 'to right, green, red')
+ * ... mirror the gradient (ie 'to left, red, lime' vs 'to right, lime, red')
+ * ... test a repeating gradient against a non repeating one
  * and probably a bunch of other things.
  * These things can cause off-by-one rounding errors in pixman (and probably
  * your GPU, too) and that'd trigger test failures.
  */
 #a {
-  background-image: linear-gradient(to bottom, blue 0%, green 15px, red 100%);
+  background-image: linear-gradient(to bottom, blue 0%, lime 15px, red 100%);
 }
 
 #reference #a {
-  background-image: linear-gradient(blue, green, red);
+  background-image: linear-gradient(blue, lime, red);
 }
 
 #b {
-  background-image: linear-gradient(to left, pink 0, cyan, red 0, green 50%, blue 40px, violet -10em);
+  background-image: linear-gradient(to left, pink 0, cyan, red 0, lime 50%, blue 40px, violet -10em);
 }
 
 #reference #b {
-  background-image: linear-gradient(270deg, red, green, blue);
+  background-image: linear-gradient(270deg, red, lime, blue);
 }
 
 #c {
-  background-image: repeating-linear-gradient(3.5turn, red, green 10px, red 20px);
+  background-image: linear-gradient(3.5turn, red, lime 10px, red 20px, green 30px, red 40px);
 }
 
 #reference #c {
-  background-image: linear-gradient(to bottom, red, green 10px, red 20px, green 30px, red 40px);
+  background-image: repeating-linear-gradient(to bottom, red, lime 10px, red 20px, green 30px, red 40px);
+}
+
+#d {
+    background-image: repeating-linear-gradient(180deg, red, lime 10px, red 20px);
+}
+
+#reference #d {
+    background-image: repeating-linear-gradient(to bottom, red, lime 10px, red 20px);
 }
diff --git a/tests/reftests/nth-child.css b/tests/reftests/nth-child.css
index 0d7c561..c704625 100644
--- a/tests/reftests/nth-child.css
+++ b/tests/reftests/nth-child.css
@@ -25,7 +25,7 @@
 
 :nth-child(11n+11),
 :nth-last-child(-11n+1100) {
-  text-shadow: green 1px 1px;
+  text-shadow: lime 1px 1px;
 }
 
 #ref1 {
@@ -42,7 +42,7 @@
 
 #ref4 {
   color: blue;
-  text-shadow: green 1px 1px;
+  text-shadow: lime 1px 1px;
 }
 
 #ref5 {
@@ -96,7 +96,7 @@
 #ref15 {
   font-weight: bold;
   font-style: italic;
-  text-shadow: green 1px 1px;
+  text-shadow: lime 1px 1px;
 }
 
 #ref16 {
@@ -131,7 +131,7 @@
 
 #ref22 {
   color: blue;
-  text-shadow: green 1px 1px;
+  text-shadow: lime 1px 1px;
 }
 
 #ref23 {



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