layout/reftests/margin-collapsing/inline-block-child-2-dyn.html

branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
equal deleted inserted replaced
-1:000000000000 0:63a45675d03b
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <head>
4 <style type="text/css">
5 #inline-block {
6 display: inline-block;
7 margin: 10px 0;
8 background-color: green;
9 }
10 #block {
11 margin: 10px 0;
12 background-color: lightgreen;
13 }
14 </style>
15 <script type="text/javascript">
16 function test() {
17 document.getElementById('block').style.display = 'block';
18 document.documentElement.removeAttribute('class');
19 }
20 document.addEventListener('MozReftestInvalidate', test, false);
21 </script>
22 </head>
23 <body>
24 <div id="inline-block"><span id="block">Hello Kitty</span></div>
25 </body>
26 </html>

mercurial