Commit graph

2 commits

Author SHA1 Message Date
WPT Sync Bot
b2341e328d Update web-platform-tests to revision 077bb422b7bb21491a414e334bc594d83ca9e55b 2018-10-16 22:45:55 -04:00
Pyfisch
94f3e3353d Fix division by zero in gradient stop calculation
Check if total_length is zero and return 0.0 instead
of NaN in this case.

Closes #18435

Regression test for crash.
2017-12-28 21:18:49 +01:00