layout/reftests/margin-collapsing/block-clear-1b.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 #parent {
     6  margin-bottom: 10px;
     7 }
     8 #float {
     9  float: right;
    10  height: 40px; width: 100px;
    11  background-color: green;
    12 }
    13 #clear {
    14  clear: right;
    15  margin-top: 20px;
    16 }
    17 #separator {
    18  height: 20px;
    19  background-color: green;
    20 }
    21 </style>
    22 </head>
    23 <body>
    24 <div id="parent">
    25  <div id="float"></div>
    26  <div id="clear"></div>
    27 </div>
    28 <div id="separator"></div>
    29 </body>
    30 </html>

mercurial