Bug 1944627 - update sidebar button checked state for non-revamped sidebar cases...
[gecko.git] / layout / reftests / display-list / retained-dl-displayport-1.html
blob63a901394c2c68af86bc21349ba56d8c2eb647c2
1 <html class="reftest-wait reftest-async-scroll">
2 <head>
3 </head>
4 <body>
5 <div id="container" style="width: 100px; height: 100px; overflow: auto;"
6 reftest-displayport-x="0" reftest-displayport-y="0"
7 reftest-displayport-width="100" reftest-displayport-height="100">
8 <div id="first" style="background-color:blue; width: 10px; height: 10px;" class="reftest-no-display-list"></div>
9 <div id="second" style="background-color:red; width: 10px; height: 10px;"></div>
10 <div id="spacer" style="height: 200px;"></div>
11 </div>
12 </body>
13 <script>
14 function doTest() {
15 document.getElementById("second").style.backgroundColor = "green";
16 document.documentElement.classList.remove("reftest-wait");
19 window.addEventListener("MozReftestInvalidate", doTest);
20 </script>
21 </html>