summaryrefslogtreecommitdiffstats
path: root/layout/reftests/pixel-rounding/image-height-10-ref.html
blob: 858e4445a81ad9fff612c20a77d169eb3118eef9 (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>Pixel rounding testcase</title>
<style type="text/css">

html, body { margin: 0; border: none; padding: 0; }
div { position: absolute; background: blue; }

div.i1  { left: 10px; }
div.i3  { left: 40px; }
div.i5  { left: 70px; }
div.i25 { left: 100px; }

div.s1  { top: 10px; height: 2px; width: 1px; }
div.s3  { top: 30px; height: 4px; width: 3px; }
div.s5  { top: 50px; height: 6px; width: 5px; }
div.s25 { top: 70px; height: 26px; width: 25px; }

</style>
</head>
<body>

<div class="s1 i1"></div>
<div class="s1 i3"></div>
<div class="s1 i5"></div>
<div class="s1 i25"></div>

<div class="s3 i1"></div>
<div class="s3 i3"></div>
<div class="s3 i5"></div>
<div class="s3 i25"></div>

<div class="s5 i1"></div>
<div class="s5 i3"></div>
<div class="s5 i5"></div>
<div class="s5 i25"></div>

<div class="s25 i1"></div>
<div class="s25 i3"></div>
<div class="s25 i5"></div>
<div class="s25 i25"></div>

</body>
</html>