Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / margin-collapse-top-margin-clearance.html
blobbd5b8c252c7133baa38ba51ad06f48415c4428d8
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
4 <head>
6 <title>CSS Test: Margin collapsing with clearance - margins of a 'collapsed through' box with clearance do not collapse with parent block's bottom margin</title>
8 <style type="text/css">
10 #parent-lime
12 background-color: lime;
13 border-top: black solid 1px;
14 width: 50%;
17 #float-left-blue
19 background-color: blue;
20 float: left;
21 height: 100px;
22 width: 100px;
25 #clear-left
27 clear: left;
28 margin-top: 60px;
29 margin-bottom: 60px;
32 </style>
34 </head>
36 <body>
38 <p>Test passes if the lime rectangle is the same height as the blue square.</p>
41 <div id="parent-lime">
42 <div id="float-left-blue"></div>
43 <div id="clear-left"></div>
45 </div>
47 </body>
48 </html>