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/neutral-var-keyframe-cycle-registered-crash.html - WPT Dashboard Interop Dashboard
 
 
<!DOCTYPE html>
<title>CSS Animations: Crash when using neutral keyframes and a var()-cycle (registered)</title>
<style>
    @property --x {
        syntax: "<number>";
        initial-value: 0;
        inherits: false;
    }
    #test {
        animation: anim 1s;
    }
    @keyframes anim {
        to {
            --x: var(--x);
        }
    }
</style>
<div id="test">PASS if no crash</div>