iming().progress, 0.5);
}, 'Active time in active phase and no start delay is the local time');

test(t => {
  const anim = createDiv(t).animate(null, { duration: 1000, delay: 500 });
  anim.currentTime = 1000;
  assert_time_equals_literal(anim.effect.getComputedTiming().progress, 0.5);
}, 'Active time in active phase and positive start delay is the local time'
   + ' minus the start delay');

test(t => {
  const anim = createDiv(t).animate(null, { duration: 1000, delay: -500 });
  assert_time_equals_litera