layout/reftests/margin-collapsing/block-fix-height-last-child-4d.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: 50px;
     7  min-height: 100px;
     8  background-color: lightgreen;
     9 }
    10 #last-child {
    11  height: 10px;
    12  margin-bottom: -20px;
    13  background-color: green;
    14 }
    15 #separator {
    16  height: 20px;
    17  background-color: blue;
    18 }
    19 </style>
    20 </head>
    21 <body>
    22 <div id="parent">
    23  <div id="last-child"></div>
    24 </div>
    25 <div id="separator"></div>
    26 </body>
    27 </html>

mercurial