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

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
michael@0 2 <style type="text/css">
michael@0 3 .multicol {
michael@0 4 margin: 1em;
michael@0 5 border: solid silver;
michael@0 6 width: 300px;
michael@0 7 -moz-column-width: 100px;
michael@0 8 -moz-column-gap: 0;
michael@0 9 height: 100px;
michael@0 10 }
michael@0 11
michael@0 12 .step {
michael@0 13 height: 10px;
michael@0 14 border: 15px aqua;
michael@0 15 border-style: none solid;
michael@0 16 }
michael@0 17 .float {
michael@0 18 float: right;
michael@0 19 width: 15px;
michael@0 20 background: aqua;
michael@0 21 height: 240px;
michael@0 22 }
michael@0 23 .L {
michael@0 24 float: left;
michael@0 25 }
michael@0 26
michael@0 27 .container {
michael@0 28 width: 100%;
michael@0 29 background: red;
michael@0 30 }
michael@0 31
michael@0 32 .clear {
michael@0 33 clear: left;
michael@0 34 height: 0;
michael@0 35 background: red;
michael@0 36 }
michael@0 37 .bar {
michael@0 38 border-bottom: orange solid;
michael@0 39 }
michael@0 40 </style>
michael@0 41
michael@0 42 <p>The orange line should be halfway down the third column
michael@0 43 (immediately after the end of the aqua lines).
michael@0 44
michael@0 45 <div class="multicol">
michael@0 46 <div class="step"></div>
michael@0 47 <div class="container">
michael@0 48 <div class="float L"></div>
michael@0 49 <div class="float R"></div>
michael@0 50 </div>
michael@0 51 <div class="clear"><div class="bar"></div></div>
michael@0 52 </div>

mercurial