summaryrefslogtreecommitdiff
path: root/Tests/LibWeb/Layout/input/margin-collapse-4.html
blob: 056c983a3737e377145267b69117e71a56ebb0c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<style>
body {
    font-family: 'SerenitySans';
}
#foo {
    background-color: red;
    width: 100px;
}
#bar {
    background-color: green;
    width: 50px;
    height: 50px;
    margin-top: -50px;
}
#baz {
    background-color: blue;
    width: 50px;
    height: 50px;
    margin-bottom: 100px;
}
</style>
<div id=foo><div id=baz></div></div>
<div id=bar></div>