|
1 <!DOCTYPE html> |
|
2 <html class="reftest-wait"> |
|
3 <head> |
|
4 <style type="text/css"> |
|
5 body { |
|
6 font-family: sans-serif; |
|
7 } |
|
8 #inline1 { |
|
9 margin-right: 10px; |
|
10 } |
|
11 #inline2 { |
|
12 display: none; |
|
13 margin-left: 20px; |
|
14 } |
|
15 </style> |
|
16 <script type="text/javascript"> |
|
17 function test() { |
|
18 document.getElementById('inline2').style.display = 'inline'; |
|
19 document.documentElement.removeAttribute('class'); |
|
20 } |
|
21 document.addEventListener('MozReftestInvalidate', test, false); |
|
22 </script> |
|
23 </head> |
|
24 <body> |
|
25 <div><span id="inline1">Hello</span><span id="inline2">Kitty</span></div> |
|
26 </body> |
|
27 </html> |