layout/reftests/margin-collapsing/block-zero-height-3a.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <!DOCTYPE html>
     2 <html>
     3 <head>
     4 <style type="text/css">
     5 #abs {
     6  position: absolute;
     7  left: 20px; top: 20px;
     8  width: 100px;
     9  background-color: red;
    10 }
    11 #parent {
    12  margin-bottom: 70px;
    13 }
    14 #zero-height {
    15  margin-bottom: 100px;
    16  height: 0;
    17 }
    18 #child-of-zero-height {
    19  height: 100px; background: green;
    20 }
    21 </style>
    22 </head>
    23 <body>
    24 <div id="abs">
    25  <div id="parent">
    26   <div id="zero-height">
    27    <div id="child-of-zero-height"></div>
    28   </div>
    29  </div>
    30 </div>
    31 </body>
    32 </html>

mercurial