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

Unified Diff: LayoutTests/fast/css-grid-layout/grid-margins-not-collapse-expected.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 | « LayoutTests/fast/css-grid-layout/grid-margins-not-collapse.html ('k') | no next file » | 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-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>
+
« no previous file with comments | « LayoutTests/fast/css-grid-layout/grid-margins-not-collapse.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698