Backed out changeset 39e6a7e77cfb (bug 1927808) for causing multiple failures. CLOSED...
[gecko.git] / layout / reftests / margin-collapsing / block-non-sibling-2e-dyn.html
blob7fd02bc8aef8ce7c80485616106fdb4c93286bf3
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <head>
4 <style type="text/css">
5 #a {
6 background-color: green;
7 margin-bottom: 40px;
8 height: 20px;
10 #b {
11 background-color: green;
12 margin-top: 10px;
14 #b div {
15 display: none;
16 height: 20px;
17 margin-top: 20px;
19 </style>
20 <script type="text/javascript">
21 function test() {
22 document.getElementsByTagName('div')[2].style.display = 'block';
23 document.documentElement.removeAttribute('class');
25 document.addEventListener('MozReftestInvalidate', test);
26 </script>
27 </head>
28 <body>
29 <div id="a">
30 </div>
31 <div id="b">
32 <div></div>
33 </div>
34 </body>
35 </html>