Index: LayoutTests/fast/css-grid-layout/grid-margins-not-collapse-expected.html |
diff --git a/LayoutTests/fast/css-grid-layout/grid-margins-not-collapse-expected.html b/LayoutTests/fast/css-grid-layout/grid-margins-not-collapse-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cb8b7bcf012929448de1d2220bbc671d8b92cd64 |
--- /dev/null |
+++ b/LayoutTests/fast/css-grid-layout/grid-margins-not-collapse-expected.html |
@@ -0,0 +1,23 @@ |
+<!DOCTYPE html> |
+<link href="resources/grid.css" rel="stylesheet"> |
+<head> |
+<style> |
+.basic { |
+ background-color: grey; |
+ height: 100px; |
+ margin-top: 50px; |
+} |
+ |
+.item { |
+ background-color: blue; |
+ width: 50px; |
+ height: 50px; |
+ position: relative; |
+ 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"> |
+ <div class="item"></div> |
+</div> |
+ |