1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/margin-collapsing/column-sibling-1c-dyn.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +<!DOCTYPE html> 1.5 +<html class="reftest-wait"> 1.6 +<head> 1.7 +<style type="text/css"> 1.8 +#block1, #block2 { 1.9 + height: 20px; 1.10 + background-color: orange; 1.11 +} 1.12 +#block1 { 1.13 + margin-bottom: 20px; 1.14 +} 1.15 +#multi-column { 1.16 + display: none; 1.17 + -moz-column-count: 1; 1.18 + column-count: 1; 1.19 + height: 20px; 1.20 + margin: 20px 0; 1.21 + background-color: blue; 1.22 +} 1.23 +#block2 { 1.24 + margin-top: 20px; 1.25 +} 1.26 +</style> 1.27 +<script type="text/javascript"> 1.28 +function test() { 1.29 + document.getElementById('multi-column').style.display = 'block'; 1.30 + document.documentElement.removeAttribute('class'); 1.31 +} 1.32 +document.addEventListener('MozReftestInvalidate', test, false); 1.33 +</script> 1.34 +</head> 1.35 +<body> 1.36 +<div id="block1"></div> 1.37 +<div id="multi-column"></div> 1.38 +<div id="block2"></div> 1.39 +</body> 1.40 +</html>