]> Pileus Git - ~andy/gtk/blob - tests/reftests/background-area.css
reftests: fix background-area reftest
[~andy/gtk] / tests / reftests / background-area.css
1 * {
2   engine: none;
3   border-style: none;
4   border-image: none;
5   background-image: none;
6   background-clip: border-box;
7   border-radius: 0;
8 }
9
10 GtkWindow {
11   background-color: rgb(0,255,0);
12 }
13
14 GtkButton {
15   border-width: 5;
16   border-style: solid;
17   border-color: rgba(255,0,0,0.6);
18   padding: 10;
19   background-color: rgb(0,0,255);
20
21   /* Make sure children of button are only offset by padding */
22   -GtkButton-default-border: 0;
23   -GtkButton-inner-border: 0;
24   -GtkWidget-focus-line-width: 0;
25   -GtkWidget-focus-padding: 0;
26 }
27
28 #button1 {
29   background-clip: border-box;
30 }
31
32 #button2 {
33   background-clip: padding-box;
34 }
35
36 #button3 {
37   background-clip: content-box;
38 }
39
40 #reference1 {
41   border-color: rgb(153,0,102);
42 }
43
44 #reference2 {
45   border-color: rgb(153,102,0);
46 }
47
48 #reference3 {
49   border-color: rgb(153,102,0);
50   background-color: transparent;
51 }
52
53 #reference3inner {
54   padding: 0;
55   border-width: 0;
56   border-color: rgb(0, 255, 0);
57   background-color: rgb(0,0,255);
58 }
59