| Index: Source/core/svg/SVGSVGElement.cpp
|
| diff --git a/Source/core/svg/SVGSVGElement.cpp b/Source/core/svg/SVGSVGElement.cpp
|
| index ed76cf3378933d324d7262678c6e0668f328d6a8..b7a0cede99bb43d915b8b90896b1e7701ae070e7 100644
|
| --- a/Source/core/svg/SVGSVGElement.cpp
|
| +++ b/Source/core/svg/SVGSVGElement.cpp
|
| @@ -713,9 +713,16 @@ void SVGSVGElement::setupInitialView(const String& fragmentIdentifier, Element*
|
|
|
| if (RenderObject* renderer = svg->renderer())
|
| markForLayoutAndParentResourceInvalidation(renderer);
|
| +
|
| + return;
|
| }
|
| }
|
|
|
| + // If we previously had a view and didn't get a new one, we need to
|
| + // layout again.
|
| + if (renderer && hadUseCurrentView)
|
| + markForLayoutAndParentResourceInvalidation(renderer);
|
| +
|
| // FIXME: We need to decide which <svg> to focus on, and zoom to it.
|
| // FIXME: We need to actually "highlight" the viewTarget(s).
|
| }
|
|
|