summaryrefslogtreecommitdiff
path: root/Tests/LibWeb/Layout/input/block-and-inline/block-with-negative-margin-and-no-intruding-floats.html
blob: 70f7052f7dada47a0157841331f0319b3a977a41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!doctype html><style>
* { border: 1px solid black; }
html { background: white; }
body { 
    position: relative;
    left: 100px;
    background: pink;
    width: 300px;
}
div {
    margin-left: -50px;
    background: orange;
    width: 200px;
}
</style><body><div>there are no floats intruding on this div