Skip to content

Conversation

@suzyh
Copy link
Contributor

@suzyh suzyh commented Nov 14, 2016

This pull request is a rebase of #85 onto the new development branch, and also adds a test. The patch fixes #84.

assert.isUndefined(webAnimations1.consumeLengthOrPercent('calc(10px,10px)'));
});
test('interpolation of more specific properties', function() {
assert.equal(webAnimations1.propertyInterpolation('strokeDashoffset', '10px', '50px')(0.25), '20px');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be able to interpolate multi valued values e.g. '10px 20px' to '50px 60px'.
If it doesn't can you file an issue to add support for it? I won't block this patch on supporting that right away.

lgtm.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out stroke-dashoffset does not support multiple values; that's stroke-dasharray. Submitting as-is.

@alexjlockwood
Copy link

+1 for this :)

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.

Dashoffset not properly animating in ios 8.1

4 participants