gecko-dev/servo/components
Boris Chiou 87c7ed9b72 Bug 1512883 - Part 1: Clamp to non-negative value after doing interpolation for circle(), ellipse(), and inset(). r=emilio,birtles
Replace LengthOrPercentage with NonNegativeLengthOrPercentage on
ShapeRadius, Circle, Ellipse. And derive ToAnimatedValue for ShapeSource and
its related types, so we clamp its interpolated results into non-negative
values. (i.e. The radius of circle()/ellipse() and the border-radius of
inset().)

Note: We may get negative values when using a negative easing function, so the
clamp is necessary to avoid the incorrect result or any undefined behavior.

Differential Revision: https://phabricator.services.mozilla.com/D14654

--HG--
extra : moz-landing-system : lando
2018-12-19 19:08:08 +00:00
..
fallible Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
hashglobe Bug 1506391 - cargo fix --edition. r=emilio 2018-11-11 02:40:21 +01:00
malloc_size_of Bug 1514439 - Fix tidy issues. 2018-12-15 03:55:44 +01:00
malloc_size_of_derive Bug 1511811 - Update syn and related dependencies. r=emilio 2018-12-07 09:00:20 -05:00
selectors Bug 1514439 - Fix tidy issues. 2018-12-15 03:55:44 +01:00
servo_arc Bug 1506391 - cargo fix --edition. r=emilio 2018-11-11 02:40:21 +01:00
size_of_test Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
style Bug 1512883 - Part 1: Clamp to non-negative value after doing interpolation for circle(), ellipse(), and inset(). r=emilio,birtles 2018-12-19 19:08:08 +00:00
style_derive Bug 1511811 - Update syn and related dependencies. r=emilio 2018-12-07 09:00:20 -05:00
style_traits Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00