Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: LayoutTests/fast/css-grid-layout/grid-margins-not-collapse.html

Issue 273643008: New Layout Tests to verify grid container's margin don't collapse. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Applied suggested changes. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/css-grid-layout/grid-margins-not-collapse-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
+
« no previous file with comments | « no previous file | LayoutTests/fast/css-grid-layout/grid-margins-not-collapse-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698