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

Unified Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-overflow-paint.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-overflow-paint.html
diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-overflow-paint.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-overflow-paint.html
index b8398b607590b37e108863b41ec9f8b7528749a9..c137e42bf8a7a2168dbe393c586ce176178a93bb 100644
--- a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-overflow-paint.html
+++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-overflow-paint.html
@@ -1,12 +1,13 @@
<!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 {
display: grid;
grid-template-rows: repeat(5, 300px);
grid-template-columns: repeat(5, 300px);
- width: -webkit-fit-content;
background-color: gray;
}
@@ -43,7 +44,7 @@
</head>
<body>
-<div class="grid">
+<div class="grid fit-content">
<div class="overflowingVerticalGridItemGreen" style="grid-column: 3; grid-row: 1; margin-bottom: -200px;"></div>
<div class="overflowingVerticalGridItemYellow" style="grid-column: 3; grid-row: 1; margin-bottom: -200px;"></div>

Powered by Google App Engine
This is Rietveld 408576698