Re: [css-animations] Should changing animation-delay cause an animation to run?

On 2015/08/13 4:05, Simon Fraser wrote:
> I think that only changes in animation-name (and maybe the presence of referenced @keyframes) should trigger running.

Are you suggesting that delay does not update?

i.e., that the following two code fragments produce different results?

  // A
  elem.style.animationName = 'abc';
  elem.style.animationDuration = '3s';
  elem.style.animationDelay = '5s';

  // B
  elem.style.animationName = 'abc';
  elem.style.animationDuration = '3s';
  elem.getBoundingClientRect();
  elem.style.animationDelay = '5s';

Best regards,

Brian

Received on Wednesday, 12 August 2015 23:42:29 UTC