|
1 <!DOCTYPE html> |
|
2 <html class="reftest-wait"> |
|
3 <head> |
|
4 <style type="text/css"> |
|
5 #separator-top { |
|
6 height: 20px; |
|
7 margin-bottom: 10px; |
|
8 background-color: green; |
|
9 } |
|
10 #overflow { |
|
11 height: 40px; |
|
12 margin: 20px 0; |
|
13 background-color: green; |
|
14 } |
|
15 #separator-bottom { |
|
16 height: 20px; |
|
17 margin-top: 10px; |
|
18 background-color: green; |
|
19 } |
|
20 </style> |
|
21 <script type="text/javascript"> |
|
22 function test() { |
|
23 document.getElementById('overflow').style.overflowY = 'scroll'; |
|
24 document.documentElement.removeAttribute('class'); |
|
25 } |
|
26 document.addEventListener('MozReftestInvalidate', test, false); |
|
27 </script> |
|
28 </head> |
|
29 <body> |
|
30 <div id="separator-top"></div> |
|
31 <div id="overflow"></div> |
|
32 <div id="separator-bottom"></div> |
|
33 </body> |
|
34 </html> |