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

Unified Diff: LayoutTests/paint/invalidation/spv2/grid-item-z-index-change-repaint-expected.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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: LayoutTests/paint/invalidation/spv2/grid-item-z-index-change-repaint-expected.html
diff --git a/LayoutTests/fast/css-grid-layout/grid-item-z-index-change-repaint.html b/LayoutTests/paint/invalidation/spv2/grid-item-z-index-change-repaint-expected.html
similarity index 60%
copy from LayoutTests/fast/css-grid-layout/grid-item-z-index-change-repaint.html
copy to LayoutTests/paint/invalidation/spv2/grid-item-z-index-change-repaint-expected.html
index 9882167d093f79a92d56df7a5129c2e1230c21cc..60823da1d08fe9ad5003f22a1946f544cae31dba 100644
--- a/LayoutTests/fast/css-grid-layout/grid-item-z-index-change-repaint.html
+++ b/LayoutTests/paint/invalidation/spv2/grid-item-z-index-change-repaint-expected.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<link href="resources/grid.css" rel="stylesheet">
+<link href="../../../fast/css-grid-layout/resources/grid.css" rel="stylesheet">
<style>
.grid {
grid-template-rows: 100px;
@@ -19,16 +19,6 @@
z-index: -1;
}
</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,12 +27,12 @@ window.onload = runRepaintTest;
</div>
<div class="grid">
- <div id="item1" class="sizedToGridArea green negativeZIndex"></div>
+ <div id="item1" class="sizedToGridArea green" style="z-index: 1"></div>
<div class="sizedToGridArea red"></div>
</div>
<div class="grid">
- <div id="item2" class="sizedToGridArea green"></div>
+ <div id="item2" class="sizedToGridArea green" style="z-index: 1"></div>
<div class="sizedToGridArea red"></div>
</div>

Powered by Google App Engine
This is Rietveld 408576698