Index: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-content-alignment-overflow.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-content-alignment-overflow.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-content-alignment-overflow.html |
index cd4b791ca2807d9d471933bea3bd7446db097f58..8611cbff7c92ab7ae7d8573a7d84531f46b0a3e4 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-content-alignment-overflow.html |
+++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-content-alignment-overflow.html |
@@ -3,7 +3,7 @@ |
<head> |
<link href="resources/grid.css" rel="stylesheet"> |
<link href="resources/grid-alignment.css" rel="stylesheet"> |
-<script src="../../resources/check-layout.js"></script> |
+<link href="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel="stylesheet"> |
<style> |
body { |
margin: 0; |
@@ -24,6 +24,9 @@ body { |
height: 150px; |
} |
</style> |
+<script src="../../resources/testharness.js"></script> |
+<script src="../../resources/testharnessreport.js"></script> |
+<script src="../../resources/check-layout-th.js"></script> |
</head> |
<body onload="checkLayout('.grid')"> |
@@ -101,5 +104,23 @@ body { |
</div> |
</div> |
+<div style="position: relative"> |
+ <div class="grid fit-content contentEndUnsafe" data-expected-width="100" data-expected-height="200"> |
+ <div class="firstRowFirstColumn" data-offset-x="0" data-offset-y="0" data-expected-width="50" data-expected-height="100"></div> |
+ <div class="secondRowFirstColumn" data-offset-x="0" data-offset-y="100" data-expected-width="50" data-expected-height="100"></div> |
+ <div class="firstRowSecondColumn" data-offset-x="50" data-offset-y="0" data-expected-width="50" data-expected-height="100"></div> |
+ <div class="secondRowSecondColumn" data-offset-x="50" data-offset-y="100" data-expected-width="50" data-expected-height="100"></div> |
+ </div> |
+</div> |
+ |
+<div style="position: relative"> |
+ <div class="grid fit-content contentCenterUnsafe" data-expected-width="100" data-expected-height="200"> |
+ <div class="firstRowFirstColumn" data-offset-x="0" data-offset-y="0" data-expected-width="50" data-expected-height="100"></div> |
+ <div class="secondRowFirstColumn" data-offset-x="0" data-offset-y="100" data-expected-width="50" data-expected-height="100"></div> |
+ <div class="firstRowSecondColumn" data-offset-x="50" data-offset-y="0" data-expected-width="50" data-expected-height="100"></div> |
+ <div class="secondRowSecondColumn" data-offset-x="50" data-offset-y="100" data-expected-width="50" data-expected-height="100"></div> |
+ </div> |
+</div> |
+ |
</body> |
</html> |