tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

neutral-var-keyframe-cycle-registered-additive-crash.html (583B)


      1 <!DOCTYPE html>
      2 <title>CSS Animations: Crash when using neutral keyframes and a var()-cycle (additive)</title>
      3 <link rel="help" href="https://crbug.com/433196586">
      4 <style>
      5    @property --x {
      6        syntax: "<number>";
      7        initial-value: 0;
      8        inherits: false;
      9    }
     10    #test {
     11        animation: anim1 100ms, anim2 100ms;
     12        animation-composition: replace, add;
     13    }
     14 
     15    @keyframes anim1 {
     16        from { --x: var(--x); }
     17        to { --x: var(--x); }
     18    }
     19    @keyframes anim2 {
     20        to { --x: var(--x); }
     21    }
     22 </style>
     23 <div id="test">PASS if no crash</div>