forked from AuroraMiddleware/gtk
reftests: Turns out, green changed color
What used to be "green" is now "lime"
This commit is contained in:
parent
10c47c0226
commit
15570dd63d
@ -3,6 +3,6 @@
|
||||
}
|
||||
|
||||
#green {
|
||||
background-color: green;
|
||||
background-color: lime;
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
.button#ref {
|
||||
background-image: none;
|
||||
background-color: green;
|
||||
background-color: lime;
|
||||
}
|
||||
|
||||
GtkWindow#ref {
|
||||
|
@ -26,5 +26,5 @@
|
||||
|
||||
#default-ref {
|
||||
background-image: none;
|
||||
background-color: green;
|
||||
background-color: lime;
|
||||
}
|
||||
|
@ -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; }
|
||||
|
@ -10,7 +10,7 @@
|
||||
}
|
||||
|
||||
GtkGrid * {
|
||||
background-color: green;
|
||||
background-color: lime;
|
||||
border-style: none;
|
||||
border-width: 0;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -8,7 +8,7 @@
|
||||
}
|
||||
|
||||
.button-not-image {
|
||||
border-color: green;
|
||||
border-color: lime;
|
||||
|
||||
border-style: solid;
|
||||
border-width: 1px 2px 2px 1px;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
GtkButton {
|
||||
background-color: red;
|
||||
border-color: green;
|
||||
border-color: lime;
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
GtkEventBox {
|
||||
background-color: green
|
||||
background-color: lime
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
#green {
|
||||
background-color: green;
|
||||
#lime {
|
||||
background-color: lime;
|
||||
}
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -3,7 +3,7 @@
|
||||
.window {
|
||||
engine: none;
|
||||
background-image: none;
|
||||
background-color: green;
|
||||
background-color: lime;
|
||||
border-radius: 0;
|
||||
border-style: none;
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
@import "reset-to-defaults.css";
|
||||
|
||||
* {
|
||||
background-color: green;
|
||||
background-color: lime;
|
||||
}
|
||||
|
||||
GtkGrid {
|
||||
|
@ -1,6 +1,6 @@
|
||||
*,
|
||||
#reference {
|
||||
color: green;
|
||||
color: lime;
|
||||
}
|
||||
|
||||
:insensitive {
|
||||
|
@ -3,7 +3,7 @@
|
||||
#window {
|
||||
engine: none;
|
||||
background-image: none;
|
||||
background-color: green;
|
||||
background-color: lime;
|
||||
border-radius: 0;
|
||||
border-style: none;
|
||||
}
|
||||
|
@ -4,8 +4,8 @@
|
||||
}
|
||||
|
||||
* ~ * ~ GtkLabel,
|
||||
#green {
|
||||
color: green;
|
||||
#lime {
|
||||
color: lime;
|
||||
}
|
||||
|
||||
* ~ * + GtkLabel ~ *,
|
||||
|
@ -3,7 +3,7 @@
|
||||
GtkContainer {
|
||||
engine: none;
|
||||
background-image: none;
|
||||
background-color: green;
|
||||
background-color: lime;
|
||||
border-radius: 0;
|
||||
border-style: none;
|
||||
}
|
||||
|
@ -3,7 +3,7 @@
|
||||
GtkWindow {
|
||||
engine: none;
|
||||
background-image: none;
|
||||
background-color: green;
|
||||
background-color: lime;
|
||||
border-radius: 0;
|
||||
border-style: none;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
GtkLabel:active,
|
||||
#reference:insensitive {
|
||||
color: green;
|
||||
color: lime;
|
||||
}
|
||||
|
||||
GtkLabel:insensitive,
|
||||
|
@ -1,3 +1,3 @@
|
||||
GtkEventBox {
|
||||
background-color: green
|
||||
background-color: lime
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
#green {
|
||||
background-color: green;
|
||||
#lime {
|
||||
background-color: lime;
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
#green {
|
||||
background-color: green;
|
||||
#lime {
|
||||
background-color: lime;
|
||||
}
|
||||
|
||||
|
@ -5,40 +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, green, 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: 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 {
|
||||
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 {
|
||||
background-image: repeating-linear-gradient(180deg, red, green 10px, red 20px);
|
||||
background-image: repeating-linear-gradient(180deg, red, lime 10px, red 20px);
|
||||
}
|
||||
|
||||
#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);
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user