Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /scroll-animations/crashtests/change-timeline-from-finite-to-monotonic-crash.html - WPT Dashboard Interop Dashboard
<style>
@keyframes anim {}
</style>
<script>
document.addEventListener("DOMContentLoaded", () => {
const a = document.createElement("style")
const b = document.createTextNode("* { animation-play-state: paused; animation-timeline: scroll(), none, --")
a.appendChild(b)
document.documentElement.appendChild(a)
document.documentElement.appendChild(c)
c.style.animationName = '"anim", none, none'
self.scroll({"left": 4096})
b.data = ""
})
</script>