layout/reftests/pagination/float-clear-002-print.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.

     1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
     2 <html class="reftest-print">
     3 <style type="text/css">
     4 html, body {
     5   margin: 0;
     6   padding: 0;
     7   height: 100%;
     8 }
    10 .float {
    11   float: right;
    12   width: 15px;
    13   background: aqua;
    14   height: 5in;
    15 }
    16 .L {
    17   float: left;
    18 }
    20 .container {
    21   width: 100%;
    22   height: 2in;
    23 }
    25 .clear {
    26   clear: left;
    27   border-bottom: solid orange;
    28   background: red;
    29 }
    30 </style>
    32 <div class="container">
    33   <div class="float L"></div>
    34   <div class="float R"></div>
    35 </div>
    36 <div class="clear"></div>

mercurial