summaryrefslogtreecommitdiff
path: root/tests/reftests/background-area.css
blob: 8c4e6112748edbee35bc0a707bd7864a78c4d6c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
* {
  engine: none;
  border-style: none;
  border-image: none;
  background-image: none;
  background-clip: border-box;
  border-radius: 0;
}

GtkWindow {
  background-color: rgb(0,255,0);
}

GtkButton {
  border-width: 5px;
  border-style: solid;
  border-color: rgba(255,0,0,0.6);
  padding: 10px;
  background-color: rgb(0,0,255);

  /* Make sure children of button are only offset by padding */
  -GtkButton-default-border: 0;
  -GtkButton-inner-border: 0;
  -GtkWidget-focus-line-width: 0;
  -GtkWidget-focus-padding: 0;
}

#button1 {
  background-clip: border-box;
}

#button2 {
  background-clip: padding-box;
}

#button3 {
  background-clip: content-box;
}

#reference1 {
  border-color: rgb(153,0,102);
}

#reference2 {
  border-color: rgb(153,102,0);
}

#reference3 {
  border-color: rgb(153,102,0);
  background-color: transparent;
}

#reference3inner {
  padding: 0;
  border-width: 0;
  border-color: rgb(0, 255, 0);
  background-color: rgb(0,0,255);
}