Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-animations/crashtests/chrome-bug-576322434.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<style>
@keyframes toggle {
from { display: none; }
to { display: none; }
}
#target {
display: none;
position: fixed;
position-area: block-end;
animation: toggle 1000s;
}
</style>
<p>Pass if no crash</p>
<div id="target"></div>
<script>
target.animate([{ display: 'block' }, { display: 'block' }], 1000000);
target.offsetTop;
</script>