Index: LayoutTests/fast/css-grid-layout/grid-container-ignore-first-letter.html |
diff --git a/LayoutTests/fast/css-grid-layout/grid-container-ignore-first-letter.html b/LayoutTests/fast/css-grid-layout/grid-container-ignore-first-letter.html |
index 15b2f43e716b073077236e8dde6877922ad20134..7d8bceb222c00f35fa6b35fba60821506c9fdfa4 100644 |
--- a/LayoutTests/fast/css-grid-layout/grid-container-ignore-first-letter.html |
+++ b/LayoutTests/fast/css-grid-layout/grid-container-ignore-first-letter.html |
@@ -8,7 +8,7 @@ |
</style> |
<script src="../../resources/check-layout.js"></script> |
-<body onload="checkLayout('.grid-first-letter');"> |
+<body onload="checkLayout('.grid,.inline-grid');"> |
<p>This test grid item should ignore grid container's first-letter pseudo-element.</p> |
<div class="grid grid-first-letter"> |
@@ -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> |