<script src="../resources/testharness.js"></script> | |
<script src="../resources/testharnessreport.js"></script> | |
<style> | |
@keyframes crash { | |
from { border-radius: var(--) } | |
} | |
#target { | |
animation: crash 1s infinite; | |
} | |
</style> | |
<div id="target"></div> | |
<script> | |
test(() => { | |
getComputedStyle(target).borderRadius; | |
}, 'Do not crash when animating a shorthand with var().'); | |
</script> |