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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

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 background: red;
michael@0 25 }
michael@0 26
michael@0 27 .clear {
michael@0 28 border-bottom: solid orange;
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 </div>
michael@0 40 <div class="clear">
michael@0 41 <br clear="all">
michael@0 42 </div>
michael@0 43 </div>

mercurial