Index: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-change-repaint-expected.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-change-repaint.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-change-repaint-expected.html |
similarity index 68% |
copy from third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-change-repaint.html |
copy to third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-change-repaint-expected.html |
index 5a29fd1b61d1a526de60cf4981d305e32386c617..f3e14ec539798eb8e5a28e59666c35f61a958cef 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-change-repaint.html |
+++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-change-repaint-expected.html |
@@ -9,26 +9,13 @@ |
grid-template-columns: 200px 200px; |
margin-top: 10px; |
} |
-.red { |
- background-color: red; |
-} |
.green { |
background-color: green; |
} |
-.negativeZIndex { |
- z-index: -1; |
+.red { |
+ background-color: red; |
} |
</style> |
-<script src="../repaint/resources/text-based-repaint.js"></script> |
-<script> |
-function repaintTest() |
-{ |
- document.getElementById('item1').style.zIndex = 1; |
- document.getElementById('item2').style.zIndex = 1; |
-} |
- |
-window.onload = runRepaintTest; |
-</script> |
</head> |
<body> |
<div style="height: 100px"> |
@@ -37,7 +24,7 @@ window.onload = runRepaintTest; |
</div> |
<div class="grid fit-content"> |
- <div id="item1" class="sizedToGridArea green negativeZIndex"></div> |
+ <div id="item1" class="sizedToGridArea green"></div> |
<div class="sizedToGridArea red"></div> |
</div> |