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

Unified Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-stacking-context.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-stacking-context.html
diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-stacking-context.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-stacking-context.html
index b6ad5c1c606c8ac45626d9281950878c17f44d51..7e373a7fe9eb860b769a5cc6234a463596f14c72 100644
--- a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-stacking-context.html
+++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-stacking-context.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 {
@@ -27,17 +27,17 @@
<p>This test checks that grid items with 'z-index' do produce a stacking context and that we honor the property.</p>
<p>For this test to pass, there should be no red below.</p>
-<div class="grid">
+<div class="grid fit-content">
<div class="sizedToGridArea green positiveZIndex firstRowFirstColumn"></div>
<div class="sizedToGridArea red firstRowFirstColumn"></div>
</div>
-<div class="grid">
+<div class="grid fit-content">
<div class="sizedToGridArea green firstRowFirstColumn"></div>
<div class="sizedToGridArea red negativeZIndex firstRowFirstColumn"></div>
</div>
-<div class="grid">
+<div class="grid fit-content">
<div class="sizedToGridArea green firstRowBothColumn"></div>
<div class="sizedToGridArea red negativeZIndex firstRowFirstColumn"></div>
<div class="sizedToGridArea red negativeZIndex firstRowSecondColumn"></div>

Powered by Google App Engine
This is Rietveld 408576698