summaryrefslogtreecommitdiffstats
path: root/layout/reftests/floats/429974-1-ref.html
blob: d2d2e6aac59f4144f74a823fc348752bcac3df15 (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
34
35
36
37
<!DOCTYPE html>
<html>
<head>

<style type="text/css">

.contain {
  background: aqua; color: black;
  height: 10px; margin: 2px 50px;
}

.fl, .fr { height: 5px; }
.fl { float: left; width: 56px; }
.fr { float: right; width: 73px; }

.t { overflow: hidden; background: blue; height: 5px; width: 85px;
     border-left: 1px solid blue; padding-left: 2px;
     padding-right: 4px; border-right: 8px solid blue; }

</style>

</head>

<body style="width: 400px">

<div class="contain">
	<div class="fl" id="p"></div>
	<div class="fr"></div>
</div>

<div class="contain">
	<div class="fl"></div>
	<div class="t"></div>
</div>

</body>
</html>