summaryrefslogtreecommitdiffstats
path: root/layout/reftests/pixel-rounding/border-base-ref.html
blob: 7be5e23d9ab288ce5facaee18b8e8f7b0ce62aea (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
<!DOCTYPE HTML>
<html>
<head>
<title>Pixel rounding testcase</title>
<style type="text/css">

html, body { margin: 0; border: none; padding: 0; }
div { position: absolute; top: 10px; height: 10px; width: 10px; }

div { background: green; }

</style>
</head>
<body>

<div style="left: 10px"></div>
<div style="left: 30px"></div>
<div style="left: 50px"></div>
<div style="left: 70px"></div>
<div style="left: 90px"></div>
<div style="left: 110px"></div>
<div style="left: 130px"></div>
<div style="left: 150px"></div>
<div style="left: 170px"></div>
<div style="left: 190px"></div>
<div style="left: 210px"></div>
<div style="left: 230px"></div>
<div style="left: 250px"></div>
<div style="left: 270px"></div>
<div style="left: 290px"></div>
<div style="left: 310px"></div>
<div style="left: 330px"></div>
<div style="left: 350px"></div>
<div style="left: 370px"></div>

<div style="top: 30px; left: 10px; width: 30px; height: 30px">
  <div style="background:white; top: 10px; left: 10px"></div>
</div>

</body>
</html>