This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20095 - Algorithm for calculating current iteration is incorrect
Summary: Algorithm for calculating current iteration is incorrect
Status: RESOLVED FIXED
Alias: None
Product: FXTF
Classification: Unclassified
Component: Web Animations (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Brian Birtles
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-27 05:39 UTC by Steve Block
Modified: 2012-12-13 08:42 UTC (History)
1 user (show)

See Also:


Attachments

Description Steve Block 2012-11-27 05:39:37 UTC
In section '6.13.5 Calculating the current iteration', Step 4 should check for the case where we are at the end of an integer number of iterations. In this case, we should prevent current iteration from 'overflowing' to the integer value. This is similar to the check used when calculating unscaled iteration time (see Bug 20094).

This fix is required for fill to work correctly with iterations.

The corresponding fix for the polyfill is https://github.com/steveblock/web-anim-js/commit/b510208fbdc63fa598a2268b63e3c0b8cfe64c65
Comment 2 Brian Birtles 2012-12-13 08:42:58 UTC
Fixed: https://dvcs.w3.org/hg/FXTF/rev/229f679cbd6a