Index: LayoutTests/fast/css-grid-layout/grid-margins-not-collapse.html |
diff --git a/LayoutTests/fast/css-grid-layout/grid-margins-not-collapse.html b/LayoutTests/fast/css-grid-layout/grid-margins-not-collapse.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c2c49f1f4d5257a21049011ed3dde518a5be4509 |
--- /dev/null |
+++ b/LayoutTests/fast/css-grid-layout/grid-margins-not-collapse.html |
@@ -0,0 +1,20 @@ |
+<!DOCTYPE html> |
+<link href="resources/grid.css" rel="stylesheet"> |
+<style> |
+.basic { |
+ background-color: grey; |
+ height: 100px; |
+ margin-top: 50px; |
+} |
+ |
+.item { |
+ width: 50px; |
+ height: 50px; |
+ margin-top: 20px; |
+} |
+</style> |
+<div>This test checks that the grid's margins do not collapse with the margins of its contents.</div> |
+<div class="basic grid"> |
+ <div class="item firstRowFirstColumn"></div> |
+</div> |
+ |