summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/403328-1-ref.html
blob: db0fdeca7d8426bb132f1a8efd3e916ebaad19a2 (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
<!DOCTYPE HTML>
<html><head>
<title>Testcase for bug 403328</title>
<style>
body {
	margin-left:40px;
}
div.cb {
	background-color: lime;
	width: 80px;
}
div.spcb {
	background-color: blue;
    margin-left:auto;
    margin-right:auto;
	width: 40px;
}
div.abs {
	background-color: red;
	height: 40px;
}
div.extrawide {
	width: 100px;
}
div.narrow {
	width: 20px;
}

</style>
</head><body>

<div class="cb">
<div class="spcb">
<div class="abs narrow" style="margin-left:auto;"></div>
<div class="abs narrow"></div>
<div class="abs extrawide" style="margin-left:-20px;"></div>
<div class="abs extrawide" style="margin-left:-40px;"></div>
<div class="abs narrow" style="margin-left:-20px;"></div>
<div class="abs narrow" style="margin-left:auto; margin-right:-20px;"></div>
<div class="abs narrow" style="margin-left:auto;"></div>
<div class="abs narrow"></div>
</div>
</div>

</body></html>