When a linear-gradient with stop-values of 0 and 100% was being evaluated, the zero was marked as the max value in the list of stops and therefore used as the denominator of a fraction, causing a ZeroDivisionError.
Coverage decreased (-0.05%) to 66.809% when pulling 7d0490e09c0d0baa15b91cf172b1ba4d1ee4b187 on matyasrichter:master into 36e8452b35d14ebdb32e308b219028ce2d8bfea0 on Kronuz:master.
Coverage decreased (-0.05%) to 66.809% when pulling 7d0490e09c0d0baa15b91cf172b1ba4d1ee4b187 on matyasrichter:master into 36e8452b35d14ebdb32e308b219028ce2d8bfea0 on Kronuz:master.
Fixes issue #404.
When a linear-gradient with stop-values of
0
and100%
was being evaluated, the zero was marked as the max value in the list of stops and therefore used as the denominator of a fraction, causing aZeroDivisionError
.