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

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

Issue 1488493003: [css-grid] refactoring of layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch rebased and refactoring of alignment css rules. Created 4 years, 11 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
index 9882167d093f79a92d56df7a5129c2e1230c21cc..5a29fd1b61d1a526de60cf4981d305e32386c617 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.html
@@ -1,12 +1,12 @@
<!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;
- width: -webkit-fit-content;
margin-top: 10px;
}
.red {
@@ -36,12 +36,12 @@ window.onload = runRepaintTest;
<p>For this test to pass, there should be no red below.</p>
</div>
-<div class="grid">
+<div class="grid fit-content">
<div id="item1" class="sizedToGridArea green negativeZIndex"></div>
<div class="sizedToGridArea red"></div>
</div>
-<div class="grid">
+<div class="grid fit-content">
<div id="item2" class="sizedToGridArea green"></div>
<div class="sizedToGridArea red"></div>
</div>

Powered by Google App Engine
This is Rietveld 408576698