| Index: Source/core/svg/SVGLengthContext.cpp
|
| diff --git a/Source/core/svg/SVGLengthContext.cpp b/Source/core/svg/SVGLengthContext.cpp
|
| index cbbbc4ccb11222e305bf87f1fab896dd11c8c648..582cfcfae53267c9bf48c55509305cac2b2e16ff 100644
|
| --- a/Source/core/svg/SVGLengthContext.cpp
|
| +++ b/Source/core/svg/SVGLengthContext.cpp
|
| @@ -178,7 +178,7 @@ float SVGLengthContext::valueForLength(const Length& length, float zoom, float d
|
| ASSERT(zoom != 0);
|
| // isIntrinsic can occur for 'width' and 'height', but has no
|
| // real meaning for svg.
|
| - if (length.isIntrinsic())
|
| + if (length.isIntrinsic() || length.isLegacyIntrinsic())
|
| return 0;
|
| return floatValueForLength(length, dimension * zoom) / zoom;
|
| }
|
|
|