layout/reftests/margin-collapsing/block-negative-2b-dyn1.html

branch
TOR_BUG_9701
changeset 3
141e0f1194b1
equal deleted inserted replaced
-1:000000000000 0:27ce13f57bf9
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <head>
4 <style type="text/css">
5 #a {
6 display: none;
7 height: 20px;
8 background-color: green;
9 margin-bottom: -20px;
10 }
11 #b {
12 height: 20px;
13 background-color: blue;
14 }
15 </style>
16 <script type="text/javascript">
17 function test() {
18 document.getElementById('a').style.display = 'block';
19 document.documentElement.removeAttribute('class');
20 }
21 document.addEventListener('MozReftestInvalidate', test, false);
22 </script>
23 </head>
24 <body>
25 <div id="a"></div>
26 <div id="b"></div>
27 </body>
28 </html>

mercurial