<script src="../resources/testharness.js"></script> | |
<script src="../resources/testharnessreport.js"></script> | |
<style> | |
@keyframes test { | |
to { | |
-webkit-perspective-origin-x: 1px; | |
-webkit-perspective-origin-y: 1px; | |
-webkit-transform-origin-x: 1px; | |
-webkit-transform-origin-y: 1px; | |
-webkit-transform-origin-z: 1px; | |
} | |
} | |
#target { | |
animation: test 1s; | |
} | |
</style> | |
<div id="target"></div> | |
<script> | |
test(function() { | |
getComputedStyle(target); | |
}, 'This test passes if it does not crash'); | |
</script> |