summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/364066-1.html
blob: 6f8ce53d4a4a8db324d77c8f01814f43469c874a (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
<!DOCTYPE html>
<html>
<head>
<title>Testcase, bug 364066</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">

table { margin: 1px 0; border-spacing: 0; }
td { padding: 0; border: 1px solid; line-height: 1px; }
img { visibility: hidden; vertical-align: bottom; }

</style>
</head>
<body>

<!-- solidblue.png is a 16x16 image -->

<table border><tr>

<td width="200">

<table><tr><td><img src="solidblue.png"></td></tr></table>
<table><tr><td>
  <img src="solidblue.png" style="height: 32px">
</td></tr></table>
<table><tr><td>
  <img src="solidblue.png" style="min-height: 32px">
</td></tr></table>
<table><tr><td>
  <img src="solidblue.png" style="max-height: 8px">
</td></tr></table>
<table><tr><td>
  <img src="solidblue.png" style="height: 4px;min-height:8px">
</td></tr></table>
<table><tr><td>
  <img src="solidblue.png" style="max-height: 4px;min-height:8px">
</td></tr></table>
<table><tr><td>
  <img src="solidblue.png" style="height: 12px;max-height:8px">
</td></tr></table>
<table><tr><td><div style="height: 40px">
  <img src="solidblue.png" style="height: 80%">
</div></td></tr></table>
<table><tr><td><div style="height: 40px">
  <img src="solidblue.png" style="min-height: 80%">
</div></td></tr></table>
<table><tr><td><div style="height: 40px">
  <img src="solidblue.png" style="height: 60px; max-height: 80%">
</div></td></tr></table>

</td><td width="200">

<table><tr><td><div style="height: 40px"><div style="height:100%"><div style="height:100%">
  <img src="solidblue.png" style="height: 80%">
</div></div></div></td></tr></table>
<table><tr><td><div style="height: 64px; max-height: 40px">
  <img src="solidblue.png" style="height: 80%">
</div></td></tr></table>
<table><tr><td><div style="height: 20px;min-height: 40px">
  <img src="solidblue.png" style="height: 80%">
</div></td></tr></table>
<table><tr><td><div style="height: 40px"><div style="height:20px; min-height:100%"><div style="height:100px;max-height:100%">
  <img src="solidblue.png" style="height: 80%">
</div></div></div></td></tr></table>

</td>

</tr></table>

</body>
</html>