Index: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-stacking-context-expected.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-stacking-context-expected.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-stacking-context-expected.html |
index a8de5d0c98b327319425af1da76b28293573b764..cbdc0ddab41985723d262b85456d6b97945bd969 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-stacking-context-expected.html |
+++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-stacking-context-expected.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; |
} |
.green { |
@@ -18,15 +18,15 @@ |
<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"></div> |
</div> |
-<div class="grid"> |
+<div class="grid fit-content"> |
<div class="sizedToGridArea green"></div> |
</div> |
-<div class="grid"> |
+<div class="grid fit-content"> |
<div class="sizedToGridArea green firstRowBothColumn"></div> |
</div> |