Index: third_party/WebKit/LayoutTests/external/wpt/css/css-grid-1/alignment/grid-content-distribution-with-collapsed-tracks-015.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/css/css-grid-1/alignment/grid-content-distribution-003.html b/third_party/WebKit/LayoutTests/external/wpt/css/css-grid-1/alignment/grid-content-distribution-with-collapsed-tracks-015.html |
similarity index 81% |
copy from third_party/WebKit/LayoutTests/external/wpt/css/css-grid-1/alignment/grid-content-distribution-003.html |
copy to third_party/WebKit/LayoutTests/external/wpt/css/css-grid-1/alignment/grid-content-distribution-with-collapsed-tracks-015.html |
index 0c6aa902f8e0b3dd655cd0903bda14bd1f4d3407..9d7be68411c77adaf2e2ac96fcb5684216d58529 100644 |
--- a/third_party/WebKit/LayoutTests/external/wpt/css/css-grid-1/alignment/grid-content-distribution-003.html |
+++ b/third_party/WebKit/LayoutTests/external/wpt/css/css-grid-1/alignment/grid-content-distribution-with-collapsed-tracks-015.html |
@@ -1,6 +1,6 @@ |
<!DOCTYPE html> |
<meta charset="utf-8"> |
-<title>CSS Grid Layout Test: Content Distribution 'space-around'</title> |
+<title>CSS Grid Layout Test: Content Distribution 'space-around' and gaps on 2x2 grid with collapsed tracks</title> |
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com"> |
<link rel="help" href="https://drafts.csswg.org/css-align-3/#content-distribution"> |
<link rel="help" href="https://drafts.csswg.org/css-align-3/#valdef-align-content-space-around"> |
@@ -17,16 +17,18 @@ |
.block > div { |
position: absolute; |
background: red; |
- width: 20px; |
- height: 20px; |
+ width: 25px; |
+ height: 25px; |
} |
.grid { |
z-index: 1; |
display: grid; |
width: 200px; |
height: 200px; |
- grid-template-columns: 20px 20px; |
- grid-template-rows: 20px 20px; |
+ grid-template-columns: repeat(auto-fit, 25px); |
+ grid-template-rows: repeat(auto-fit, 25px); |
+ grid-row-gap: 10px; |
+ grid-column-gap: 10px; |
align-content: space-around; |
justify-content: space-around; |
} |
@@ -34,7 +36,7 @@ |
</style> |
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p> |
<div class="block"> |
- <div style="top: 40px; left: 40px;"></div> |
+ <div style="top: 35px; left: 35px;"></div> |
<div style="top: 140px; left: 140px;"></div> |
</div> |
<div class="grid"> |