layout/reftests/pagination/float-clear-001.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/pagination/float-clear-001.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,43 @@
     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 +.float {
    1.16 +  float: right;
    1.17 +  width: 15px;
    1.18 +  background: aqua;
    1.19 +  height: 250px;
    1.20 +}
    1.21 +.L {
    1.22 +  float: left;
    1.23 +}
    1.24 +
    1.25 +.container {
    1.26 +  width: 100%;
    1.27 +}
    1.28 +
    1.29 +.clear {
    1.30 +  border-bottom: solid orange;
    1.31 +  background: red;
    1.32 +}
    1.33 +</style>
    1.34 +
    1.35 +<p>The orange line should be halfway down the third column
    1.36 +(immediately after the end of the aqua lines).
    1.37 +
    1.38 +<div class="multicol">
    1.39 +  <div class="container">
    1.40 +    <div class="float L"></div>
    1.41 +    <div class="float R"></div>
    1.42 +    <br clear="all">
    1.43 +  </div>
    1.44 +  <div class="clear">
    1.45 +  </div>
    1.46 +</div>

mercurial