summaryrefslogtreecommitdiff
path: root/layout/reftests/bugs/456219-1a.html
blob: da18c89d3b7f45030749e1237cecbcc80095697b (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!doctype html>
<html><head>
<title>background-clip interaction with border-radius</title>
<style>
/* If you fix bug #466572, you can substantially simplify this test
   case. */

table { table-layout: fixed; width: 550px }
td { width: 110px; height: 110px; text-align: center }
div.i {
   z-index: 0;
   width: 70px;
   height: 70px;
   border-style: solid;
   border-color: green;
   background-clip: padding-box;
   background-color: green;
}
.rA div.i { border-radius: 10px; }
.rB div.i { border-radius: 20px; }
.rC div.i { border-radius: 30px; }
.rD div.i { border-radius: 40px; }
.rE div.i { border-radius: 50px; }

.wA div.i { border-width: 10px 10px 10px 10px; }
.wB div.i { border-width: 20px 20px 20px 20px; }
.wC div.i { border-width: 5px 20px 5px 20px; }
.wD div.i { border-width: 20px 20px 5px 5px; }
.wE div.i { border-width: 5px 10px 15px 20px; }

div.o {
  display: inline-block;
  position: relative;
}
img {
  position: absolute; top: 0; left: 0;
  z-index: 1;
}
</style>
</head><body>
<table>
<tr class="wA">
  <td class="rA"><div class="o"><div class="i"></div><img src="456219-1-mask-wArA.png"></div></td>
  <td class="rB"><div class="o"><div class="i"></div><img src="456219-1-mask-wArB.png"></div></td>
  <td class="rC"><div class="o"><div class="i"></div><img src="456219-1-mask-wArC.png"></div></td>
  <td class="rD"><div class="o"><div class="i"></div><img src="456219-1-mask-wArD.png"></div></td>
  <td class="rE"><div class="o"><div class="i"></div><img src="456219-1-mask-wArE.png"></div></td>
</tr>
<tr class="wB">
  <td class="rA"><div class="o"><div class="i"></div><img src="456219-1-mask-wBrA.png"></div></td>
  <td class="rB"><div class="o"><div class="i"></div><img src="456219-1-mask-wBrB.png"></div></td>
  <td class="rC"><div class="o"><div class="i"></div><img src="456219-1-mask-wBrC.png"></div></td>
  <td class="rD"><div class="o"><div class="i"></div><img src="456219-1-mask-wBrD.png"></div></td>
  <td class="rE"><div class="o"><div class="i"></div><img src="456219-1-mask-wBrE.png"></div></td>
</tr>
<tr class="wC">
  <td class="rA"><div class="o"><div class="i"></div><img src="456219-1-mask-wCrA.png"></div></td>
  <td class="rB"><div class="o"><div class="i"></div><img src="456219-1-mask-wCrB.png"></div></td>
  <td class="rC"><div class="o"><div class="i"></div><img src="456219-1-mask-wCrC.png"></div></td>
  <td class="rD"><div class="o"><div class="i"></div><img src="456219-1-mask-wCrD.png"></div></td>
  <td class="rE"><div class="o"><div class="i"></div><img src="456219-1-mask-wCrE.png"></div></td>
</tr>
<tr class="wD">
  <td class="rA"><div class="o"><div class="i"></div><img src="456219-1-mask-wDrA.png"></div></td>
  <td class="rB"><div class="o"><div class="i"></div><img src="456219-1-mask-wDrB.png"></div></td>
  <td class="rC"><div class="o"><div class="i"></div><img src="456219-1-mask-wDrC.png"></div></td>
  <td class="rD"><div class="o"><div class="i"></div><img src="456219-1-mask-wDrD.png"></div></td>
  <td class="rE"><div class="o"><div class="i"></div><img src="456219-1-mask-wDrE.png"></div></td>
</tr>
<tr class="wE">
  <td class="rA"><div class="o"><div class="i"></div><img src="456219-1-mask-wErA.png"></div></td>
  <td class="rB"><div class="o"><div class="i"></div><img src="456219-1-mask-wErB.png"></div></td>
  <td class="rC"><div class="o"><div class="i"></div><img src="456219-1-mask-wErC.png"></div></td>
  <td class="rD"><div class="o"><div class="i"></div><img src="456219-1-mask-wErD.png"></div></td>
  <td class="rE"><div class="o"><div class="i"></div><img src="456219-1-mask-wErE.png"></div></td>
</tr>
</table>

<p>Inside each green shape, there should be no white.</p>

</body></html>