gecko-dev/layout/reftests/floats/bfc-displace-4-ref.html
L. David Baron f65fb08529 Bug 1207157 patch 1 - Add reftest. r=jfkthame
--HG--
extra : commitid : GiLfGyiuizo
2015-09-27 02:19:14 -07:00

32 lines
447 B
HTML

<!DOCTYPE HTML>
<title>Test of block formatting context displacement by floats</title>
<style>
.contain {
border: medium solid;
width: 400px;
height: 400px;
background: yellow;
}
.float {
float: left;
height: 20px;
background: blue;
}
.bfc {
float: left;
width: 200px;
height: 15px;
background: fuchsia;
}
</style>
<div class="contain">
<div class="float" style="width: 200px"></div>
<div class="bfc"></div>
</div>