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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/margin-collapsing/block-zero-height-3a.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +<style type="text/css">
     1.8 +#abs {
     1.9 + position: absolute;
    1.10 + left: 20px; top: 20px;
    1.11 + width: 100px;
    1.12 + background-color: red;
    1.13 +}
    1.14 +#parent {
    1.15 + margin-bottom: 70px;
    1.16 +}
    1.17 +#zero-height {
    1.18 + margin-bottom: 100px;
    1.19 + height: 0;
    1.20 +}
    1.21 +#child-of-zero-height {
    1.22 + height: 100px; background: green;
    1.23 +}
    1.24 +</style>
    1.25 +</head>
    1.26 +<body>
    1.27 +<div id="abs">
    1.28 + <div id="parent">
    1.29 +  <div id="zero-height">
    1.30 +   <div id="child-of-zero-height"></div>
    1.31 +  </div>
    1.32 + </div>
    1.33 +</div>
    1.34 +</body>
    1.35 +</html>

mercurial