Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / transform-translate.html
blob94a52ad01c64503d68274a039b579144c58e2667
1 <!-- Based on fast/repaint/transform-translate.html -->
2 <head>
3 <title>Repaint test for bug 15719</title>
4 <script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
5 </head>
6 <body onload="runPaintInvalidationTest()">
7 <h1>Repaint test for bug 15719</h1>
8 <div id="target" style="transform: translate(0, 0); width: 100px; height: 100px; background-color: yellow; border: solid;"></div>
9 <script>
10 var offset = 0;
11 window.expectedPaintInvalidationObjects = [
12 "LayoutBlockFlow DIV id='target'",
14 function paintInvalidationTest()
16 offset += 20;
17 document.getElementById("target").style.webkitTransform = "translate(" + offset + "px, 0)";
19 </script>