blob: 933bbc0ef489a7d81d4cc2ec50b071ed991e22a1 [file] [log] [blame]
<head>
<title>Repaint test for bug 15719</title>
<script src="resources/repaint.js" type="text/javascript"></script>
</head>
<body onload="runRepaintTest()">
<h1>Repaint test for bug 15719</h1>
<div id="target" style="-webkit-transform: translate(0, 0); width: 100px; height: 100px; background-color: yellow; border: solid;"></div>
<script>
var offset = 0;
function repaintTest()
{
offset += 20;
document.getElementById("target").style.webkitTransform = "translate(" + offset + "px, 0)";
}
</script>