layout/reftests/margin-collapsing/block-horizontal-3-ref.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>
     2 <html>
     3 <head>
     4 <style type="text/css">
     5 #float-blue {
     6  float: left;
     7  margin-right: 40px;
     8  border: solid blue;
     9  border-width: 0 20px;
    10  background-color: green;
    11  width: 40px;
    12  height: 100px;
    13 }
    14 .float-green {
    15  float: left;
    16  background-color: green;
    17  width: 40px;
    18  height: 100px;
    19 }
    20 </style>
    21 </head>
    22 <body>
    23 <div id="float-blue"></div><div class="float-green"></div>
    24 </body>
    25 </html>

mercurial