etComputedStyle(target).perspectiveOrigin, '90px 0px');
}, 'perspective-origin supports calc');

test(function(){
  target.style = 'transform: translate(calc(30px + 20%), calc(-200px + 100%)) rotate(calc(1turn - 400grad)) scale(calc(5 + 2), calc(5 - 2));';
  assert_equals(getComputedStyle(target).transform, 'matrix(7, 0, 0, 3, 90, 0)');
}, 'transform supports calc');

test(function(){
  target.style = 'transform-origin: calc(30px + 20%) calc(-200px + 100%);';
  assert_equals(getComputedStyle(target).transfo