blob: e690f6ea1fe690de5a1462a5b9f78700ade86af5 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Test rendering of sub-pixel borders</title>
<style>
.padding {
padding: 1px;
}
.test {
margin-top: 1px;
border-top: 1px solid green;
}
</style>
</head>
<body>
<div class=padding>
<div class=test></div>
</div>
<p>
The border should not overflow the border box. On devices with
device pixel ratio 1, there should be a one pixel wide line
above.
</p>
</body>
</html>