layout/reftests/margin-collapsing/block-zero-height-1b.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 #a {
     6  height: 20px;
     7  background-color: green;
     8 }
     9 #b {
    10  background-color: green;
    11  margin-top: 10px;
    12 }
    13 #c {
    14  margin-top: 20px;
    15  margin-bottom: 30px;
    16  height: 0;
    17 }
    18 #d {
    19  height: 10px;
    20  background-color: red;
    21 }
    22 #e {
    23  height: 20px;
    24  background-color: blue;
    25 }
    26 </style>
    27 </head>
    28 <body>
    29 <div id="a"></div>
    30 <div id="b">
    31  <div id="c">
    32   <div id="d"></div>
    33  </div>
    34  <div id="e"></div>
    35 </div>
    36 </body>
    37 </html>

mercurial