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>
5 .test {
6 position:fixed;
7 display:none;
8 width:100px; height:100px;
9 background:yellow;
10 }
11 .doTest .test {
12 display:block;
13 }
14 </style>
15 </head>
16 <body>
17 <div style="transform:translate(10px,0); overflow:scroll; width:200px; height:200px;">
18 <div class="test"></div>
19 </div>
20 <script>
21 function doTest() {
22 document.documentElement.setAttribute("class", "doTest");
23 }
24 window.addEventListener("MozReftestInvalidate", doTest, false);
25 </script>
26 </body>
27 </html>