Skip to content

Conversation

@suzyh
Copy link
Contributor

@suzyh suzyh commented Jul 26, 2016

An infinite loop in the cubic bezier function in src/timing-utilities.js was
causing us to skip interfaces/KeyframeEffect/effect-easing.html from the
web-platform-tests. This patch changes the loop condition to ensure it exits,
in line with the CubicBezier implementation in Chromium.

In order to achieve the accuracy required by the web-platform-tests
expectations, the epsilon value in the algorithm is also reduced by an order of
magnitude.

An infinite loop in the cubic bezier function in src/timing-utilities.js was
causing us to skip interfaces/KeyframeEffect/effect-easing.html from the
web-platform-tests. This patch changes the loop condition to ensure it exits,
in line with the CubicBezier implementation in Chromium.

In order to achieve the accuracy required by the web-platform-tests
expectations, the epsilon value in the algorithm is also reduced by an order of
magnitude.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants