layout/reftests/margin-collapsing/inline-block-child-1-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 #parent {
     6  height: 40px; width: 200px;
     7  padding: 20px 0;
     8  background-color: green;
     9 }
    10 #child {
    11  height: 40px; width: 200px;
    12  background-color: lightgreen;
    13 }
    14 </style>
    15 </head>
    16 <body>
    17 <div id="parent">
    18  <div id="child"></div>
    19 </div>
    20 </body>
    21 </html>

mercurial