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 #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>