Index: LayoutTests/compositing/repaint/repaint-into-ancestor-after-layout.html |
diff --git a/LayoutTests/compositing/repaint/repaint-into-ancestor-after-layout.html b/LayoutTests/compositing/repaint/repaint-into-ancestor-after-layout.html |
index c4f880bd8cf6d50357dd1f86fe2beb5410433588..4ba471d0810b3cd2aad8ec3c49a9ed05f36b50b6 100644 |
--- a/LayoutTests/compositing/repaint/repaint-into-ancestor-after-layout.html |
+++ b/LayoutTests/compositing/repaint/repaint-into-ancestor-after-layout.html |
@@ -28,25 +28,17 @@ |
} |
</style> |
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
<script> |
- if (window.testRunner) |
- testRunner.dumpAsText(); |
- |
- function test() |
- { |
- document.body.offsetHeight; |
- if (window.internals) |
- window.internals.startTrackingRepaints(document); |
- |
- if (window.internals) { |
- document.getElementById('parent').style.top = "10px"; |
- document.getElementById('layers').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS); |
- } |
+ function repaintTest() { |
+ document.getElementById('parent').style.top = "10px"; |
} |
+ |
+ runRepaintTest(); |
</script> |
</head> |
-<body onload="test()"> |
+<body> |
<!-- |
https://code.google.com/p/chromium/issues/detail?id=256200 |
The parent element is set up uniquely such that it is composited, but it |
@@ -56,8 +48,6 @@ |
<div id="parent"> |
<div id="child"></div> |
</div> |
- |
- <pre id="layers"></pre> |
</body> |
</html> |