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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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 .float {
michael@0 13 float: right;
michael@0 14 width: 15px;
michael@0 15 background: aqua;
michael@0 16 height: 250px;
michael@0 17 }
michael@0 18 .L {
michael@0 19 float: left;
michael@0 20 }
michael@0 21
michael@0 22 .container {
michael@0 23 width: 100%;
michael@0 24 }
michael@0 25
michael@0 26 .clear {
michael@0 27 border-bottom: solid orange;
michael@0 28 background: red;
michael@0 29 }
michael@0 30 </style>
michael@0 31
michael@0 32 <p>The orange line should be halfway down the third column
michael@0 33 (immediately after the end of the aqua lines).
michael@0 34
michael@0 35 <div class="multicol">
michael@0 36 <div class="container">
michael@0 37 <div class="float L"></div>
michael@0 38 <div class="float R"></div>
michael@0 39 <br clear="all">
michael@0 40 </div>
michael@0 41 <div class="clear">
michael@0 42 </div>
michael@0 43 </div>

mercurial