summaryrefslogtreecommitdiff
path: root/Tests/LibWeb/Layout/input/position-absolute-ignores-padding-of-position-relative-floating-parent.html
blob: 697317840fc40c3c33a3034954d439123e62a31f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html><head><style>
* {
    font-family: 'SerenitySans';
}

#guide {
    width: 200px;
    height: 200px;
    background-color: blue;
}

#container {
    position: relative;
    float: left;
    padding: 10px;
}

#box {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100px;
    height: 100px;
    background-color: orange;
}
</style></head><body><div id="guide"><div id="container"><div id="box">