1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/margin-collapsing/caption-sibling-1a.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,38 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 +<!-- dbaron thinks the validity of this test is questionable, see 1.8 + https://bugzilla.mozilla.org/show_bug.cgi?id=477462#c20 and #c21 --> 1.9 +<style type="text/css"> 1.10 +#table { 1.11 + display: table; 1.12 + width: 100px; 1.13 +} 1.14 +#caption1 { 1.15 + display: table-caption; 1.16 + height: 20px; 1.17 + background-color: red; 1.18 + margin-bottom: 10px; 1.19 +} 1.20 +#caption2 { 1.21 + display: table-caption; 1.22 + height: 20px; 1.23 + background-color: blue; 1.24 + margin: 20px 0; 1.25 +} 1.26 +#caption3 { 1.27 + display: table-caption; 1.28 + height: 20px; 1.29 + background-color: green; 1.30 + margin-top: 10px; 1.31 +} 1.32 +</style> 1.33 +</head> 1.34 +<body> 1.35 +<div id="table"> 1.36 + <div id="caption1"></div> 1.37 + <div id="caption2"></div> 1.38 + <div id="caption3"></div> 1.39 +</div> 1.40 +</body> 1.41 +</html>