blob: a7176965908475e416553539dcb0b6c9bf570cf1 [file] [log] [blame]
<iframe id="iframe"></iframe>
<div id="div1"></div>
This test passes if it does not crash.
<div id="div2"></div>
<div id="div3"></div>
<embed id="embed"></embed>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script>
var test = async_test("Test if it does not crash when element is animated with position");
try{embed.appendChild(null);}catch(e){}
iframe.animate([{"position":"fixed"}, {"position":"static"}], {duration: 1, fill: 'forwards'});
div3.appendChild(div1);
requestAnimationFrame(test.step_func_done(() => {}));
</script>