| Index: Source/core/svg/animation/SVGSMILElement.cpp
|
| diff --git a/Source/core/svg/animation/SVGSMILElement.cpp b/Source/core/svg/animation/SVGSMILElement.cpp
|
| index 9f2321f8714f0437416d07e96678d104118fd427..903b246481fc94a26cfe1086e3ce0d76039b337b 100644
|
| --- a/Source/core/svg/animation/SVGSMILElement.cpp
|
| +++ b/Source/core/svg/animation/SVGSMILElement.cpp
|
| @@ -370,7 +370,7 @@ SMILTime SVGSMILElement::parseOffsetValue(const String& data)
|
| result = parse.left(parse.length() - 1).toDouble(&ok);
|
| else
|
| result = parse.toDouble(&ok);
|
| - if (!ok)
|
| + if (!ok || !SMILTime(result).isFinite())
|
| return SMILTime::unresolved();
|
| return result;
|
| }
|
| @@ -406,7 +406,7 @@ SMILTime SVGSMILElement::parseClockValue(const String& data)
|
| } else
|
| return parseOffsetValue(parse);
|
|
|
| - if (!ok)
|
| + if (!ok || !SMILTime(result).isFinite())
|
| return SMILTime::unresolved();
|
| return result;
|
| }
|
|
|