Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
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 overflow: scroll;
12 height: 40px;
13 margin: 20px 0;
14 background-color: green;
15 }
16 #separator-bottom {
17 height: 20px;
18 margin-top: 10px;
19 background-color: green;
20 }
21 </style>
22 <script type="text/javascript">
23 function test() {
24 document.getElementById('overflow').style.overflow = 'auto';
25 document.documentElement.removeAttribute('class');
26 }
27 document.addEventListener('MozReftestInvalidate', test, false);
28 </script>
29 </head>
30 <body>
31 <div id="separator-top"></div>
32 <div id="overflow"></div>
33 <div id="separator-bottom"></div>
34 </body>
35 </html>