1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/pagination/float-clear-003.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,52 @@ 1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> 1.5 +<style type="text/css"> 1.6 +.multicol { 1.7 + margin: 1em; 1.8 + border: solid silver; 1.9 + width: 300px; 1.10 + -moz-column-width: 100px; 1.11 + -moz-column-gap: 0; 1.12 + height: 100px; 1.13 +} 1.14 + 1.15 +.step { 1.16 + height: 10px; 1.17 + border: 15px aqua; 1.18 + border-style: none solid; 1.19 +} 1.20 +.float { 1.21 + float: right; 1.22 + width: 15px; 1.23 + background: aqua; 1.24 + height: 240px; 1.25 +} 1.26 +.L { 1.27 + float: left; 1.28 +} 1.29 + 1.30 +.container { 1.31 + width: 100%; 1.32 + background: red; 1.33 +} 1.34 + 1.35 +.clear { 1.36 + clear: left; 1.37 + height: 0; 1.38 + background: red; 1.39 +} 1.40 +.bar { 1.41 + border-bottom: orange solid; 1.42 +} 1.43 +</style> 1.44 + 1.45 +<p>The orange line should be halfway down the third column 1.46 +(immediately after the end of the aqua lines). 1.47 + 1.48 +<div class="multicol"> 1.49 + <div class="step"></div> 1.50 + <div class="container"> 1.51 + <div class="float L"></div> 1.52 + <div class="float R"></div> 1.53 + </div> 1.54 + <div class="clear"><div class="bar"></div></div> 1.55 +</div>