Index: third_party/WebKit/LayoutTests/paint/invalidation/compositing/should-not-repaint-composited-z-index.html |
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/compositing/should-not-repaint-composited-z-index.html b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/should-not-repaint-composited-z-index.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d2781e752cf2ee9f9ace7ee2acf4ac4f7030c953 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/should-not-repaint-composited-z-index.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE html> |
+<style> |
+#composited-box { |
+ backface-visibility: hidden; |
+ width: 100px; |
+ height: 100px; |
+ background-color: green; |
+ z-index: 1; |
+} |
+</style> |
+<script src="../resources/text-based-repaint.js"></script> |
+<script> |
+function repaintTest() { |
+ document.getElementById('composited-box').style.zIndex = 2; |
+} |
+window.onload = runRepaintTest; |
+</script> |
+<div id="composited-box"></div> |