Bug 1944627 - update sidebar button checked state for non-revamped sidebar cases...
[gecko.git] / layout / reftests / display-list / 1437374-1.html
blobbce8597f6d328983d9fbe4f61d5f94ee491f132b
1 <!DOCTYPE HTML>
2 <html reftest-async-scroll class="reftest-wait reftest-snapshot-all">
3 <body>
4 <div style="width:400px; height:500px; overflow: scroll; scrollbar-width: none; border:2px solid black"
5 reftest-displayport-x="0" reftest-displayport-y="0"
6 reftest-displayport-w="800" reftest-displayport-h="2000"
7 reftest-async-scroll-x="0" reftest-async-scroll-y="50">
8 <div style="height:500px"></div>
9 <div style="height:100px; background-color:red" id="scrolled"></div>
10 </div>
11 <script>
13 function doTest()
15 var scrolled = document.getElementById("scrolled");
16 scrolled.style.backgroundColor = "purple";
17 document.documentElement.setAttribute("class", "reftest-snapshot-all");
20 document.addEventListener("MozReftestInvalidate", doTest);
21 </script>
22 </body>
23 </html>