DescriptionAvoid division-by-zero in SVGLengthContext::convertValueFromUserUnits
If the viewport is valid but empty, we could end up dividing by zero,
which could produce either Infinity or NaN.
This could end up triggering an assert when creating a
CSSPrimitiveValue for the SVGLength in question.
TEST=http/tests/cache/smil-usecounter-in-cached-image.html
BUG=485973
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195174
Patch Set 1 #
Messages
Total messages: 10 (2 generated)
|