summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/1001258-1.html
blob: fdb852351a1a61cf1c196cfeec8bd90837dd7e09 (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
<!DOCTYPE html>
<html>
<head>
<style>

.r {
    display: inline-block;
    width: 40px;
    height: 40px;
}

</style>
</head>

<body onload="document.getElementById('willFloatLeft').style.cssFloat = 'left';">
    <div style="width: 100px; background: lightgray;">
        <div class="r" style="background: red; width: 10px; float: left;"></div>
        <div class="r" style="background: violet; width: 120px;" id="willFloatLeft" ></div>
        <div style="clear: left;"></div>
        <div class="r" style="background: blue;"></div>
        <div class="r" style="background: yellow; float: right;"></div>
        <div class="r" style="background: orange; position: relative;"></div>
    </div>
</body>

</html>