Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Unified Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-change-repaint-expected.html

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698