Debian Codegraph @

testsuite/reftests/background-origin.css

raw
1 @import "reset-to-defaults.css";
2
3 window {
4 background-color: rgb(255,255,255);
5 }
6
7 button {
8 border-width: 5px;
9 border-style: solid;
10 border-color: rgba(255,0,0,0.5);
11 padding: 10px;
12 background-color: rgb(0,0,255);
13
14 background-image: url("green-20x20.png");
15 background-repeat: no-repeat;
16 }
17
18 #button1 {
19 background-origin: border-box;
20 background-clip: border-box;
21 }
22 #button2 {
23 background-origin: padding-box;
24 background-clip: border-box;
25 }
26 #button3 {
27 background-origin: content-box;
28 background-clip: border-box;
29 }
30 #button4 {
31 background-origin: border-box;
32 background-clip: padding-box;
33 }
34 #button5 {
35 background-origin: padding-box;
36 background-clip: padding-box;
37 }
38 #button6 {
39 background-origin: content-box;
40 background-clip: padding-box;
41 }
42 #button7 {
43 background-origin: border-box;
44 background-clip: content-box;
45 }
46 #button8 {
47 background-origin: padding-box;
48 background-clip: content-box;
49 }
50 #button9 {
51 background-origin: content-box;
52 background-clip: content-box;
53 }
54
55 button#reference {
56 border-width: 0;
57 background-image: url("reference-background-origin.png");
58 }