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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8c402a388256bb8f82b04094cfd9ca457812bfbf |
--- /dev/null |
+++ b/LayoutTests/compositing/repaint/should-not-repaint-composited-transform.html |
@@ -0,0 +1,26 @@ |
+<!DOCTYPE html> |
+<style> |
+#composited-box { |
+ width: 100px; |
+ height: 100px; |
+ border: solid 1px black; |
+ -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> |
+ 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); |
+ } |
+</script> |