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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <link href="resources/grid.css" rel="stylesheet">
4 <head>
5 <style>
6 .basic {
7 background-color: grey;
8 height: 100px;
9 margin-top: 50px;
10 }
11
12 .item {
13 background-color: blue;
14 width: 50px;
15 height: 50px;
16 position: relative;
17 top: 20px;
18 }
19 </style>
20 </head>
21 <body>
22 <div>This test checks that the grid's margins do not collapse with the margins o f its contents.</div>
23 <div class="basic">
24 <div class="item"></div>
25 </div>
26 </body>
27 </html>
28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698