Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
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>