blob: 58bdce27fdfeb159f14b2fcb5c79f17207b57784 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>This tests that we position composited content properly when they are clipped to the viewport.</title>
<style>
.jiggle {
width: 20px;
height: 5px;
position: absolute;
background: green;
}
</style>
</head>
<body>
<script>
var leftPos = 0;
for (i = 0; i < 50; ++i) {
var element = document.createElement("div");
element.className = "jiggle";
element.style.top = (6 * i) + "px";
element.style.left = leftPos + "px";
document.body.appendChild(element);
leftPos -= 0.1;
}
</script>
</html>