Leland Richardson 4ee0f7b218 Round interpolation for RGB components
Summary:The CSS spec doesn't allow for decimal values inside of rgb colors, however the RN implementation does, so there was a disconnect here.

This tests to see if the output range is an rgb color, and if so, rounds the first 3 interpolated components (but not the 4th, since that would be opacity and allows for a decimal).

cc vjeux
Closes https://github.com/facebook/react-native/pull/6984

Differential Revision: D3186473

fb-gh-sync-id: a320bf2311764e084386700bf8c8a42ab2a347eb
fbshipit-source-id: a320bf2311764e084386700bf8c8a42ab2a347eb
2016-04-15 14:51:27 -07:00
..
2015-07-24 08:41:58 -08:00
2016-04-14 14:28:31 -07:00
2016-04-15 02:18:21 -07:00
2016-04-06 09:21:53 -07:00
2016-04-10 18:02:20 -07:00
2016-03-30 10:04:54 -07:00
2016-04-14 14:28:31 -07:00