Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-backgrounds/animations/background-color-animation-removed-element-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<iframe id="foo"></iframe>
<div id="bar"></div>
<script>
$ = document.querySelector.bind(document);
var target = document.getElementById("bar");
target.animate([{"backgroundColor":"blue"},{"backgroundColor":"green"}], {"duration":10});
$('iframe').contentDocument.documentElement.appendChild(target);
$('#foo').remove();
</script>