]> Pileus Git - ~andy/gtk/blob - tests/reftests/background-origin.css
reftests: Add another background-size test
[~andy/gtk] / tests / reftests / background-origin.css
1 * {
2   engine: none;
3   border-style: none;
4   border-image: none;
5   background-image: none;
6   background-clip: border-box;
7   background-repeat: no-repeat;
8   border-radius: 0;
9 }
10
11 GtkWindow {
12   background-color: rgb(255,255,255);
13 }
14
15 GtkButton {
16   border-width: 5px;
17   border-style: solid;
18   border-color: rgba(255,0,0,0.5);
19   padding: 10px;
20   background-color: rgb(0,0,255);
21
22   background-image: url("green-20x20.png");
23 }
24
25 #button1 {
26   background-origin: border-box;
27   background-clip: border-box;
28 }
29 #button2 {
30   background-origin: padding-box;
31   background-clip: border-box;
32 }
33 #button3 {
34   background-origin: content-box;
35   background-clip: border-box;
36 }
37 #button4 {
38   background-origin: border-box;
39   background-clip: padding-box;
40 }
41 #button5 {
42   background-origin: padding-box;
43   background-clip: padding-box;
44 }
45 #button6 {
46   background-origin: content-box;
47   background-clip: padding-box;
48 }
49 #button7 {
50   background-origin: border-box;
51   background-clip: content-box;
52 }
53 #button8 {
54   background-origin: padding-box;
55   background-clip: content-box;
56 }
57 #button9 {
58   background-origin: content-box;
59   background-clip: content-box;
60 }
61
62 GtkButton#reference {
63   border-width: 0;
64   background-image: url("reference-background-origin.png");
65 }