layout/reftests/margin-collapsing/table-sibling-1c.html

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

mercurial