Bug 1732060 [wpt PR 30876] - Update wpt metadata, a=testonly
[gecko.git] / layout / reftests / floats / bfc-displace-2a-ref.html
blob0855ce8de4510f16c3fd88cbaacd5660362d20d5
1 <!DOCTYPE HTML>
2 <title>Test of block formatting context displacement by floats</title>
3 <style>
5 .contain {
6 border: medium solid;
7 width: 400px;
8 height: 400px;
9 background: yellow;
12 .block {
13 height: 10px;
14 background: aqua;
17 .float {
18 float: left;
19 clear: left;
20 height: 20px;
21 background: blue;
24 .bfc {
25 float: left;
26 width: 250px;
27 margin-top: 7px;
28 height: 13px; /* fits exactly */
29 background: fuchsia;
32 </style>
35 <div class="contain">
36 <div class="block"></div>
37 <div class="float" style="width: 100px"></div>
38 <div class="bfc"></div>
39 <div class="float" style="width: 200px"></div>
40 </div>