summaryrefslogtreecommitdiffstats
path: root/dom/plugins/test/reftest/plugin-background.css
blob: f6b251214d3f8ff5bd5f77cd89669d1c72e7592c (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
60
61
div {
  position: absolute;
}
#bad {
  left:220px; top:0px;
  z-index: 0;
}
#good {
  left:0px; top:0px;
  width:220px; height:220px;
  /* Core Animation alpha blending rounding differs
     from the Core Graphics blending, adjust with care */
  background-color: rgba(0,255,0, 0.51);
  z-index: 0;
}

#topbar {
  left:0px; top:0px;
  width:220px; height:20px;
  background-color: rgb(0,0,0);
  z-index: 2;
}
#topbar {
  left:0px; top:0px;
  width:220px; height:20px;
  background-color: rgb(0,0,0);
  z-index: 2;
}
#leftbar {
  left:0px; top:0px;
  width:20px; height:220px;
  background-color: rgb(0,0,0);
  z-index: 2;
}
#rightbar {
  left:200px; top:0px;
  width:20px; height:220px;
  background-color: rgb(0,0,0);
  z-index: 2;
}
#bottombar {
  left:0px; top:200px;
  width:220px; height:20px;
  background-color: rgb(0,0,0);
  z-index: 2;
}

div#plugin {
  position: absolute;
  left:1px; top:1px;
  width:199px; height:199px;
  background-color: rgba(0,0,255, 0.2);
  z-index: 1;
}

embed#plugin {
  position: absolute;
  left:1px; top:1px;
  z-index: 1;
}