2007-03-22 10:30:00 -07:00
|
|
|
<!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 -->
|
2008-03-25 09:50:30 -07:00
|
|
|
<div style="top: 10px; left: 10px; width: 10px; border-top: 11.6px solid green"></div>
|
2007-03-22 10:30:00 -07:00
|
|
|
<div style="top: 10px; left: 30px; height: 10.6px; border-right: 10px solid green"></div>
|
2008-03-25 09:50:30 -07:00
|
|
|
<div style="top: 10px; left: 50px; width: 10px; border-bottom: 11.6px solid green"></div>
|
2007-03-22 10:30:00 -07:00
|
|
|
<div style="top: 10px; left: 70px; height: 10.6px; border-left: 10px solid green"></div>
|
|
|
|
|
|
|
|
<!-- two adjacent borders -->
|
2008-03-25 09:50:30 -07:00
|
|
|
<div style="top: 10px; left: 90px; border-top: 11.6px solid green; border-right: 10px solid green"></div>
|
|
|
|
<div style="top: 10px; left: 110px; border-bottom: 11.6px solid green; border-right: 10px solid green"></div>
|
|
|
|
<div style="top: 10px; left: 130px; border-top: 11.6px solid green; border-left: 10px solid green"></div>
|
|
|
|
<div style="top: 10px; left: 150px; border-bottom: 11.6px solid green; border-left: 10px solid green"></div>
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<!-- two opposite borders -->
|
2008-03-25 09:50:30 -07:00
|
|
|
<div style="top: 10px; left: 170px; width: 10px; border-top: 6.6px solid green; border-bottom: 5px solid green;"></div>
|
|
|
|
<div style="top: 10px; left: 190px; width: 10px; border-top: 5px solid green; border-bottom: 6.6px solid green;"></div>
|
2007-03-22 10:30:00 -07:00
|
|
|
<div style="top: 10px; left: 210px; height: 10.6px; border-right: 5px solid green; border-left: 5px solid green"></div>
|
|
|
|
|
|
|
|
<!-- three borders -->
|
2008-03-25 09:50:30 -07:00
|
|
|
<div style="top: 10px; left: 230px; border-right: 5px solid green; border-bottom: 11.6px solid green; border-left: 5px solid green"></div>
|
|
|
|
<div style="top: 10px; left: 250px; border-right: 5px solid green; border-top: 11.6px solid green; border-left: 5px solid green"></div>
|
|
|
|
<div style="top: 10px; left: 270px; border-top: 5px solid green; border-bottom: 6.6px solid green; border-left: 10px solid green"></div>
|
|
|
|
<div style="top: 10px; left: 290px; border-top: 6.6px solid green; border-bottom: 5px solid green; border-left: 10px solid green"></div>
|
|
|
|
<div style="top: 10px; left: 310px; border-top: 5px solid green; border-bottom: 6.6px solid green; border-right: 10px solid green"></div>
|
|
|
|
<div style="top: 10px; left: 330px; border-top: 6.6px solid green; border-bottom: 5px solid green; border-right: 10px solid green"></div>
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<!-- four borders -->
|
2008-03-25 09:50:30 -07:00
|
|
|
<div style="top: 10px; left: 350px; border-top: 6.6px solid green; border-right: 5px solid green; border-bottom: 5px solid green; border-left: 5px solid green"></div>
|
|
|
|
<div style="top: 10px; left: 370px; border-top: 5px solid green; border-right: 5px solid green; border-bottom: 6.6px solid green; border-left: 5px solid green"></div>
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<!-- border around space -->
|
|
|
|
<div style="top: 30px; left: 10px; border: 10px solid green; height: 10.6px; width: 10px"></div>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|