Backed out changeset 39e6a7e77cfb (bug 1927808) for causing multiple failures. CLOSED...
[gecko.git] / layout / reftests / margin-collapsing / block-em-length-1-dyn.html
blob6a709dd33e0b8b01fc5e2d1c57af246f88782f39
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <head>
4 <style type="text/css">
5 body {
6 font-size: 20px;
8 #block1 {
9 height: 20px;
10 margin-bottom: 10em;
11 background-color: blue;
13 #block2 {
14 height: 20px;
15 margin-top: 5em;
16 background-color: blue;
18 </style>
19 <script type="text/javascript">
20 function test() {
21 document.getElementById('block2').style.fontSize = '50px';
22 document.documentElement.removeAttribute('class');
24 document.addEventListener('MozReftestInvalidate', test);
25 </script>
26 </head>
27 <body>
28 <div id="block1"></div>
29 <div id="block2"></div>
30 </body>
31 </html>