layout/reftests/margin-collapsing/block-clear-6f-left.html

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     1 <!DOCTYPE html>
     2 <html>
     3 <head>
     4 <style type="text/css">
     5 .separator {
     6  height: 20px;
     7  background-color: green;
     8 }
     9 #parent {
    10  background-color: lime;
    11  margin-bottom: 30px;
    12 }
    13 #float {
    14  float: left;
    15  width: 100px; height: 100px;
    16  background-color: blue;
    17 }
    18 #clear {
    19  clear: left;
    20  margin-top: 15px;
    21  margin-bottom: 15px;
    22 }
    23 </style>
    24 </head>
    25 <body>
    26 <div class="separator"></div>
    27 <div id="parent">
    28  <div id="float"></div>
    29  <div id="clear"></div>
    30 </div>
    31 <div class="separator"></div>
    32 </body>
    33 </html>

mercurial