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

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

</style>
</head>
<body>

<!-- one border -->
<div style="top: 10px; left: 10.4px; width: 10px; border-top: 10px solid green"></div>
<div style="top: 10px; left: 30.4px; height: 10px; border-right: 10px solid green"></div>
<div style="top: 10px; left: 50.4px; width: 10px; border-bottom: 10px solid green"></div>
<div style="top: 10px; left: 70.4px; height: 10px; border-left: 10px solid green"></div>

<!-- two adjacent borders -->
<div style="top: 10px; left: 90.4px; border-top: 10px solid green; border-right: 10px solid green"></div>
<div style="top: 10px; left: 110.4px; border-bottom: 10px solid green; border-right: 10px solid green"></div>
<div style="top: 10px; left: 130.4px; border-top: 10px solid green; border-left: 10px solid green"></div>
<div style="top: 10px; left: 150.4px; border-bottom: 10px solid green; border-left: 10px solid green"></div>

<!-- two opposite borders -->
<div style="top: 10px; left: 170.4px; height: 10px; border-left: 5px solid green; border-right: 5px solid green;"></div>
<div style="top: 10px; left: 190.4px; height: 10px; border-left: 5px solid green; border-right: 5px solid green;"></div>
<div style="top: 10px; left: 210.4px; width: 10px; border-top: 5px solid green; border-bottom: 5px solid green"></div>

<!-- three borders -->
<div style="top: 10px; left: 230.4px; border-top: 5px solid green; border-right: 10px solid green; border-bottom: 5px solid green"></div>
<div style="top: 10px; left: 250.4px; border-top: 5px solid green; border-left: 10px solid green; border-bottom: 5px solid green"></div>
<div style="top: 10px; left: 270.4px; border-left: 5px solid green; border-right: 5px solid green; border-bottom: 10px solid green"></div>
<div style="top: 10px; left: 290.4px; border-left: 5px solid green; border-right: 5px solid green; border-bottom: 10px solid green"></div>
<div style="top: 10px; left: 310.4px; border-left: 5px solid green; border-right: 5px solid green; border-top: 10px solid green"></div>
<div style="top: 10px; left: 330.4px; border-left: 5px solid green; border-right: 5px solid green; border-top: 10px solid green"></div>

<!-- four borders -->
<div style="top: 10px; left: 350.4px; border-top: 5px solid green; border-right: 5px solid green; border-bottom: 5px solid green; border-left: 5px solid green"></div>
<div style="top: 10px; left: 370.4px; border-top: 5px solid green; border-right: 5px solid green; border-bottom: 5px solid green; border-left: 5px solid green"></div>

<!-- border around space -->
<div style="top: 30px; left: 10.4px; border: 10px solid green; height: 10px; width: 10px"></div>

</body>
</html>