Backed out 2 changesets (bug 1930466) for causing bc failures on browser_timezone...
[gecko.git] / layout / reftests / image-element / invalidate-1.html
blob5dc3ec7f930bd662bc4d77554a23ae65f67b364b
1 <!DOCTYPE HTML>
2 <html class="reftest-wait">
3 <script>
4 /* this test shouldn't need reftest-wait, but if the reftest snapshot is triggered before we've painted,
5 * then we might not get a chance to invalidate the -moz-element div in time
6 * See Bug 1283302
7 */
8 window.addEventListener("MozReftestInvalidate", endTest);
10 function endTest() {
11 document.documentElement.removeAttribute("class");
13 </script>
14 <body>
15 <div id="A" style="background:url(repeatable-diagonal-gradient.png?1234); width:100px; height:100px"></div>
16 <div style="background:-moz-element(#A); width:100px; height:100px;"></div>
17 </body>
18 </html>