layout/reftests/margin-collapsing/block-html-html-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  html, body, div {
     6   margin: 0; padding: 0;
     7   background-color: white;
     8  }
     9  #the-html {
    10   padding: 50px 0;
    11  }
    12  #the-body {
    13   background-color: red;
    14  }
    15  #the-div {
    16   background-color: green;
    17   height: 100px;
    18  }
    19  </style>
    20 </head>
    21 <body>
    22 <div id="the-html">
    23  <div id="the-body">
    24   <div id="the-div"></div>
    25  </div>
    26 </div>
    27 </body>
    28 </html>

mercurial