forked from WebKit/WebKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path007.html
More file actions
34 lines (33 loc) · 730 Bytes
/
007.html
File metadata and controls
34 lines (33 loc) · 730 Bytes
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
<html>
<head>
<style>
div.box {
display: -moz-box;
display: -webkit-box;
display: box;
}
div.float {
float: left;
width: 92px;
height:92px;
background-color: green;
}
</style>
</head>
<body>
<p>
You should see a 100x100 green square below enclosed by an olive border. If you see any red, the test has failed. If the border does not fully enclose the green square, then the test has failed.
</p>
<p>
This test is checking to make sure blocks with auto height that are children of boxes will expand to encompass overhanging floats.
</p>
<div style="width:100px;height:100px;background-color:red">
<div class="box" style="border:4px solid olive">
<div>
<div class="float">
</div>
</div>
</div>
</div>
</body>
</html>