layout/reftests/margin-collapsing/block-zero-height-2c-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 html, body {
     6  margin-top: 0;
     7 }
     8 #a {
     9  margin-top: 30px;
    10  height: 10px; width: 100px;
    11  background-color: red;
    12 }
    13 #b {
    14  height: 20px;
    15  background-color: green;
    16  margin-top: 30px;
    17 }
    18 </style>
    19 </head>
    20 <body>
    21 <div id="a"></div>
    22 <div id="b"></div>
    23 </body>
    24 </html>

mercurial