Index: LayoutTests/compositing/repaint/should-not-repaint-composited-transform.html |
diff --git a/LayoutTests/compositing/repaint/should-not-repaint-composited-transform.html b/LayoutTests/compositing/repaint/should-not-repaint-composited-transform.html |
index 8c402a388256bb8f82b04094cfd9ca457812bfbf..58986347cba8cf1ad5ca296b235d661f0aaf2f94 100644 |
--- a/LayoutTests/compositing/repaint/should-not-repaint-composited-transform.html |
+++ b/LayoutTests/compositing/repaint/should-not-repaint-composited-transform.html |
@@ -7,20 +7,11 @@ |
-webkit-transform:translate3D(0, 0, 0); |
} |
</style> |
-<div id="composited-box"></div> |
-<pre id="console"></pre> |
-<script src="../../resources/run-after-display.js"></script> |
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
<script> |
- function doTest() { |
- internals.startTrackingRepaints(document); |
- document.getElementById("composited-box").style.webkitTransform = "translate3D(100px, 100px, 0)"; |
- document.getElementById("console").textContent = internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS); |
- testRunner.notifyDone(); |
- } |
- |
- if (window.testRunner && window.internals) { |
- testRunner.dumpAsText(); |
- testRunner.waitUntilDone(); |
- runAfterDisplay(doTest); |
- } |
+function repaintTest() { |
+ document.getElementById('composited-box').style.webkitTransform = 'translate3D(100px, 100px, 0)'; |
+} |
+window.onload = runRepaintTest; |
</script> |
+<div id="composited-box"></div> |