Index: LayoutTests/fast/css-grid-layout/grid-container-ignore-first-line.html |
diff --git a/LayoutTests/fast/css-grid-layout/grid-container-ignore-first-line.html b/LayoutTests/fast/css-grid-layout/grid-container-ignore-first-line.html |
index 0d84a784dc6a09344d95c39e1e54e5fb5fcb3bf7..3ad93ea9982c24e599b2e65ede0a1dc8851e383a 100644 |
--- a/LayoutTests/fast/css-grid-layout/grid-container-ignore-first-line.html |
+++ b/LayoutTests/fast/css-grid-layout/grid-container-ignore-first-line.html |
@@ -8,7 +8,7 @@ |
</style> |
<script src="../../resources/check-layout.js"></script> |
-<body onload="checkLayout('.grid-first-line');"> |
+<body onload="checkLayout('.grid,.inline-grid');"> |
<p>This test grid item should ignore grid container's first-line pseudo-element.</p> |
<div class="grid grid-first-line"> |
@@ -55,5 +55,31 @@ |
</div> |
</div> |
+<div class="container"> |
+ <div class="grid"> |
+ <div class="item" data-expected-height=20>The first item.</div> |
+ <div class="item" data-expected-height=20>The second item.</div> |
+ </div> |
+</div> |
+ |
+<div class="container"> |
+ <div class="inline-grid"> |
+ <div class="item" data-expected-height=20>The first item.</div> |
+ <div class="item" data-expected-height=20>The second item.</div> |
+ </div> |
+</div> |
+ |
+<div class="container"> |
+ <div class="grid" data-expected-height=20> |
+ Anonymous item. |
+ </div> |
+</div> |
+ |
+<div class="container"> |
+ <div class="inline-grid" data-expected-height=20> |
+ Anonymous item. |
+ </div> |
+</div> |
+ |
</body> |
</html> |