
    animation.currentTime = time;
    assert_equals(style.content, `"${expected}"`, `Check the animated value at time = ${time}ms`);
  };

  testContentAtTime(0, 'from');
  testContentAtTime(499, 'from');
  testContentAtTime(500, 'to');
  testContentAtTime(999, 'to');
  testContentAtTime(1000, 'to');
}, "The content property can be animated with a discrete animation type.");

</script>
</body>
