

  // If the change to the transition-duration was reflected, the
  // transition would be cancelled and the computed height
  // would now be '25px'.
  assert_equals(
    getComputedStyle(div).height,
    '50px',
    'Even after unsetting transition, the transition should be 50% complete'
  );

  // Wait a frame just to be sure that the changed duration is not later
  // updated.
  await waitForFrame();

  assert_greater_than_equal(
    parseInt(getComputedStyle(div).height),
    50,
    'Even in the next