summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/block/negative-start-margin-align-center-percent-expected.html
blob: bd64fe76e6aa8c3e7ffd21ac18aec9f8ebf6cf65 (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
28
29
30
31
32
33
<!DOCTYPE html>
<html>
<head>
<style>
body
{
    margin: 0px;
}

.hidTarget
{
    height: 100px;
    width: 250px;
    position: absolute;
    left: 50px;
    background-color: green;
}

p
{
    position: absolute;
    top: 300px;
}
</style>
</head>
<body>
    <div class="hidTarget"></div>
    <p>
        <a href="https://bugs.webkit.org/show_bug.cgi?id=89626">89626</a>: Non-fixed length margins don't work with align=center<br>
        There should be a green rectangle above with no red.
    </p>
</body>
</html>