1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/margin-collapsing/block-no-content-4c.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 +<style type="text/css"> 1.8 +#parent { 1.9 + background-color: green; 1.10 +} 1.11 +#first-child { 1.12 + height: 20px; 1.13 +} 1.14 +#last-child { 1.15 + margin-top: -20px; 1.16 + margin-bottom: -30px; 1.17 +} 1.18 +#separator { 1.19 + height: 20px; 1.20 + margin-top: 70px; 1.21 + background-color: green; 1.22 +} 1.23 +</style> 1.24 +</head> 1.25 +<body> 1.26 +<div id="parent"> 1.27 + <div id="first-child"></div> 1.28 + <div id="last-child"></div> 1.29 +</div> 1.30 +<div id="separator"></div> 1.31 +</body> 1.32 +</html>