blob: 09dc14f0c3637be55ce26d07f9eb32a6a385b3c2 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
#shiftMe {
position: relative;
left: -100px;
}
.container {
overflow: hidden;
}
.imgContainer {
position: relative;
float: left;
}
</style>
</head>
<body>
<div class="container">
<div id="shiftMe">
<div class="imgContainer">
<img src="../resources/apple.jpg">
</div>
</div>
</div>
<script src="../resources/text-based-repaint.js" type="text/javascript"></script>
<script>
function repaintTest()
{
document.getElementById("shiftMe").style.left = "-20px";
}
window.addEventListener("load", runRepaintAndPixelTest, false);
</script>
</body>
</html>