blob: 1e6b53c487202f489d0f72e55bd6013d35b8acf2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<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>
|