reftests: Turns out, green changed color

What used to be "green" is now "lime"
This commit is contained in:
Benjamin Otte
2012-11-13 21:41:08 +01:00
parent 10c47c0226
commit 15570dd63d
25 changed files with 50 additions and 50 deletions

View File

@ -3,6 +3,6 @@
} }
#green { #green {
background-color: green; background-color: lime;
} }

View File

@ -1,23 +1,23 @@
@import "reset-to-defaults.css"; @import "reset-to-defaults.css";
#button1 { #button1 {
background-image: linear-gradient(alpha(red, 0.50)), linear-gradient(green); background-image: linear-gradient(alpha(red, 0.50)), linear-gradient(lime);
} }
#button2 { #button2 {
background-color: green; background-color: lime;
background-image: linear-gradient(alpha(red, 0.50)), linear-gradient(transparent); background-image: linear-gradient(alpha(red, 0.50)), linear-gradient(transparent);
} }
#button3 { #button3 {
padding: 12px; 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; background-clip: content-box;
} }
#button4 { #button4 {
padding: 12px; padding: 12px;
background-image: linear-gradient(red), linear-gradient(green); background-image: linear-gradient(red), linear-gradient(lime);
background-clip: content-box, padding-box; background-clip: content-box, padding-box;
} }
@ -25,7 +25,7 @@
padding: 12px; padding: 12px;
background-image: linear-gradient(red), linear-gradient(transparent); background-image: linear-gradient(red), linear-gradient(transparent);
background-clip: content-box, padding-box; background-clip: content-box, padding-box;
background-color: green; background-color: lime;
} }
#ref1, #ref1,
@ -41,7 +41,7 @@
#ref4-bg, #ref4-bg,
#ref5-bg { #ref5-bg {
background-color: green; background-color: lime;
} }
#ref4-fg, #ref4-fg,

View File

@ -8,7 +8,7 @@
.button#ref { .button#ref {
background-image: none; background-image: none;
background-color: green; background-color: lime;
} }
GtkWindow#ref { GtkWindow#ref {

View File

@ -26,5 +26,5 @@
#default-ref { #default-ref {
background-image: none; background-image: none;
background-color: green; background-color: lime;
} }

View File

@ -1,5 +1,5 @@
@import "reset-to-defaults.css"; @import "reset-to-defaults.css";
GtkWindow { background-color: green; } GtkWindow { background-color: lime; }
#reference * { background-color: green; } #reference * { background-color: lime; }

View File

@ -10,7 +10,7 @@
} }
GtkGrid * { GtkGrid * {
background-color: green; background-color: lime;
border-style: none; border-style: none;
border-width: 0; border-width: 0;
} }

View File

@ -10,15 +10,15 @@
.button-image { .button-image {
border-image-source: -gtk-gradient(linear, border-image-source: -gtk-gradient(linear,
left top, left bottom, left top, left bottom,
from(green), from(lime),
to(green)); to(lime));
border-image-slice: 1; border-image-slice: 1;
border-image-repeat: stretch; border-image-repeat: stretch;
border-width: 1px 2px 2px 1px; border-width: 1px 2px 2px 1px;
} }
.button-not-image { .button-not-image {
border-color: green; border-color: lime;
border-style: solid; border-style: solid;
border-width: 1px 2px 2px 1px; border-width: 1px 2px 2px 1px;
} }

View File

@ -8,7 +8,7 @@
} }
.button-not-image { .button-not-image {
border-color: green; border-color: lime;
border-style: solid; border-style: solid;
border-width: 1px 2px 2px 1px; border-width: 1px 2px 2px 1px;

View File

@ -2,7 +2,7 @@
GtkButton { GtkButton {
background-color: red; background-color: red;
border-color: green; border-color: lime;
border-width: 1px; border-width: 1px;
} }

View File

@ -1,3 +1,3 @@
GtkEventBox { GtkEventBox {
background-color: green background-color: lime
} }

View File

@ -2,7 +2,7 @@
background-color: red; background-color: red;
} }
#green { #lime {
background-color: green; background-color: lime;
} }

View File

@ -16,7 +16,7 @@
} }
.button:nth-child(last):nth-child(even) { .button:nth-child(last):nth-child(even) {
background-color: green; background-color: lime;
} }
.button:nth-child(last):nth-child(odd) { .button:nth-child(last):nth-child(odd) {
@ -33,8 +33,8 @@
background-color: red; background-color: red;
} }
#green { #lime {
background-color: green; background-color: lime;
} }
#purple { #purple {

View File

@ -3,7 +3,7 @@
.window { .window {
engine: none; engine: none;
background-image: none; background-image: none;
background-color: green; background-color: lime;
border-radius: 0; border-radius: 0;
border-style: none; border-style: none;
} }

View File

@ -1,7 +1,7 @@
@import "reset-to-defaults.css"; @import "reset-to-defaults.css";
* { * {
background-color: green; background-color: lime;
} }
GtkGrid { GtkGrid {

View File

@ -1,6 +1,6 @@
*, *,
#reference { #reference {
color: green; color: lime;
} }
:insensitive { :insensitive {

View File

@ -3,7 +3,7 @@
#window { #window {
engine: none; engine: none;
background-image: none; background-image: none;
background-color: green; background-color: lime;
border-radius: 0; border-radius: 0;
border-style: none; border-style: none;
} }

View File

@ -4,8 +4,8 @@
} }
* ~ * ~ GtkLabel, * ~ * ~ GtkLabel,
#green { #lime {
color: green; color: lime;
} }
* ~ * + GtkLabel ~ *, * ~ * + GtkLabel ~ *,

View File

@ -3,7 +3,7 @@
GtkContainer { GtkContainer {
engine: none; engine: none;
background-image: none; background-image: none;
background-color: green; background-color: lime;
border-radius: 0; border-radius: 0;
border-style: none; border-style: none;
} }

View File

@ -3,7 +3,7 @@
GtkWindow { GtkWindow {
engine: none; engine: none;
background-image: none; background-image: none;
background-color: green; background-color: lime;
border-radius: 0; border-radius: 0;
border-style: none; border-style: none;
} }

View File

@ -1,6 +1,6 @@
GtkLabel:active, GtkLabel:active,
#reference:insensitive { #reference:insensitive {
color: green; color: lime;
} }
GtkLabel:insensitive, GtkLabel:insensitive,

View File

@ -1,3 +1,3 @@
GtkEventBox { GtkEventBox {
background-color: green background-color: lime
} }

View File

@ -2,7 +2,7 @@
background-color: red; background-color: red;
} }
#green { #lime {
background-color: green; background-color: lime;
} }

View File

@ -2,7 +2,7 @@
background-color: red; background-color: red;
} }
#green { #lime {
background-color: green; background-color: lime;
} }

View File

@ -5,40 +5,40 @@
* The start and end points must be identical when drawing * The start and end points must be identical when drawing
* This means that you cannot: * This means that you cannot:
* ... add extra color stops, even if they'd be invisible * ... 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, green, red')
* ... test a repeating gradient against a non repeating one * ... test a repeating gradient against a non repeating one
* and probably a bunch of other things. * and probably a bunch of other things.
* These things can cause off-by-one rounding errors in pixman (and probably * These things can cause off-by-one rounding errors in pixman (and probably
* your GPU, too) and that'd trigger test failures. * your GPU, too) and that'd trigger test failures.
*/ */
#a { #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 { #reference #a {
background-image: linear-gradient(blue, green, red); background-image: linear-gradient(blue, lime, red);
} }
#b { #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 { #reference #b {
background-image: linear-gradient(270deg, red, green, blue); background-image: linear-gradient(270deg, red, lime, blue);
} }
#c { #c {
background-image: linear-gradient(3.5turn, red, green 10px, red 20px, green 30px, red 40px); background-image: linear-gradient(3.5turn, red, lime 10px, red 20px, green 30px, red 40px);
} }
#reference #c { #reference #c {
background-image: repeating-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 { #d {
background-image: repeating-linear-gradient(180deg, red, green 10px, red 20px); background-image: repeating-linear-gradient(180deg, red, lime 10px, red 20px);
} }
#reference #d { #reference #d {
background-image: repeating-linear-gradient(to bottom, red, green 10px, red 20px); background-image: repeating-linear-gradient(to bottom, red, lime 10px, red 20px);
} }

View File

@ -25,7 +25,7 @@
:nth-child(11n+11), :nth-child(11n+11),
:nth-last-child(-11n+1100) { :nth-last-child(-11n+1100) {
text-shadow: green 1px 1px; text-shadow: lime 1px 1px;
} }
#ref1 { #ref1 {
@ -42,7 +42,7 @@
#ref4 { #ref4 {
color: blue; color: blue;
text-shadow: green 1px 1px; text-shadow: lime 1px 1px;
} }
#ref5 { #ref5 {
@ -96,7 +96,7 @@
#ref15 { #ref15 {
font-weight: bold; font-weight: bold;
font-style: italic; font-style: italic;
text-shadow: green 1px 1px; text-shadow: lime 1px 1px;
} }
#ref16 { #ref16 {
@ -131,7 +131,7 @@
#ref22 { #ref22 {
color: blue; color: blue;
text-shadow: green 1px 1px; text-shadow: lime 1px 1px;
} }
#ref23 { #ref23 {