| OLD | NEW |
| 1 <script src="../resources/testharness.js"></script> | 1 <script src="../../resources/testharness.js"></script> |
| 2 <script src="../resources/testharnessreport.js"></script> | 2 <script src="../../resources/testharnessreport.js"></script> |
| 3 <style> | 3 <style> |
| 4 @keyframes crash { | 4 @keyframes crash { |
| 5 from { border-radius: var(--) } | 5 from { border-radius: var(--) } |
| 6 } | 6 } |
| 7 #target { | 7 #target { |
| 8 animation: crash 1s infinite; | 8 animation: crash 1s infinite; |
| 9 } | 9 } |
| 10 </style> | 10 </style> |
| 11 <div id="target"></div> | 11 <div id="target"></div> |
| 12 <script> | 12 <script> |
| 13 test(() => { | 13 test(() => { |
| 14 getComputedStyle(target).borderRadius; | 14 getComputedStyle(target).borderRadius; |
| 15 }, 'Do not crash when animating a shorthand with var().'); | 15 }, 'Do not crash when animating a shorthand with var().'); |
| 16 </script> | 16 </script> |
| OLD | NEW |