Bug 1839526 [wpt PR 40658] - Update wpt metadata, a=testonly
[gecko.git] / layout / style / crashtests / 592698-1.html
blobb2620b512eafed2c1d0dd56979089df244809f05
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <iframe id="x"
4 srcdoc="<div id='a'>aaa"></iframe>
6 <script>
7 window.onload = function() {
8 window.frames[0].document.getElementById("a").setAttribute("style",
9 '-moz-transition-property: color;' +
10 '-moz-transition-duration: 10s;' +
11 'transition-property: color;' +
12 'transition-duration: 10s; ' +
13 'color: red;');
15 // And start the transition
16 window.frames[0].document.documentElement.getBoundingClientRect();
18 // Now kill off the presshell
19 var frame = document.getElementById("x");
20 frame.style.display = "none";
21 document.documentElement.getBoundingClientRect();
23 // And wait for the refresh driver to fire
24 setTimeout(function() {
25 document.documentElement.className = "";
26 }, 100);
28 </script>
29 </html>