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

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: 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..7fa611c6dca5c7903acf99d5b55469794b04efb3
--- /dev/null
+++ b/LayoutTests/fast/css-grid-layout/grid-margins-not-collapse.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
ojan 2014/05/21 18:43:12 We usually leave out the <html><head> and <body> e
jfernandez 2014/05/22 14:40:46 I've removed those elements from the new patch. Ho
+<link href="resources/grid.css" rel="stylesheet">
+<head>
+<style>
+.basic {
+ background-color: grey;
+ height: 100px;
+ margin-top: 50px;
+}
+
+.item {
+ width: 50px;
+ height: 50px;
+ margin-top: 20px;
+}
+</style>
+</head>
+<body>
+<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>
ojan 2014/05/21 18:43:12 Please use consistent indentation (i.e. use 4 spac
jfernandez 2014/05/22 14:40:46 Done.
+</div>
+</body>
+</html>
+
« 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