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

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

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 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: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-change-repaint.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.html
deleted file mode 100644
index 4a69f8bace40c545aaa4b70831e30bfed47c8428..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-change-repaint.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel="stylesheet">
-<link href="resources/grid.css" rel="stylesheet">
-<style>
-.grid {
- grid-template-rows: 100px;
- grid-template-columns: 200px 200px;
- margin-top: 10px;
-}
-.red {
- background-color: red;
-}
-.green {
- background-color: green;
-}
-.negativeZIndex {
- 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 = runRepaintAndPixelTest;
-</script>
-</head>
-<body>
-<div style="height: 100px">
- <p>This test checks that grid items correctly repaint when 'z-index' changes.</p>
- <p>For this test to pass, there should be no red below.</p>
-</div>
-
-<div class="grid fit-content">
- <div id="item1" class="sizedToGridArea green negativeZIndex"></div>
- <div class="sizedToGridArea red"></div>
-</div>
-
-<div class="grid fit-content">
- <div id="item2" class="sizedToGridArea green"></div>
- <div class="sizedToGridArea red"></div>
-</div>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698