blob: adde9d36313c7d4ad3461a8dd83a020fd773f107 (
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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US">
<head>
<title>Reftest, bug 1062963</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">
html, body { margin: 0; }
.contain {
background: aqua; color: black;
height: 40px; margin: 1px 50px;
padding-top: 0.1px; /* needed for some reason (XXX WHY?) */
}
div.pushed { height: 20px; }
div.t { background: blue; height: 10px; width: 100px; }
div.caption { background: purple; height: 10px; width: 100px; }
div.side { display: inline-block; vertical-align: top; }
#test { width: 699px; }
</style>
</head>
<body>
<div id="test">
<div style="width: 676px">
<div class="contain rtl">
<div class="side t" style="margin-left: 102px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 674px">
<div class="contain rtl">
<div class="side t" style="margin-left: 100px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 672px">
<div class="contain rtl">
<div class="pushed"></div>
<div class="side t" style="margin-left: 98px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
</div>
</body>
</html>
|