Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Unified Diff: third_party/WebKit/Source/core/svg/SVGSVGElement.cpp

Issue 1504333002: Remove special handling of xpointer( as fragment url (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
index 576fc4c7fe74849a2a946d918ac9f3950587d7ec..8c4803a3f3669f80e54793d1983509e69a75042c 100644
--- a/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
@@ -688,13 +688,6 @@ void SVGSVGElement::setupInitialView(const String& fragmentIdentifier, Element*
bool hadUseCurrentView = m_useCurrentView;
m_useCurrentView = false;
- if (fragmentIdentifier.startsWith("xpointer(")) {
- // FIXME: XPointer references are ignored (https://bugs.webkit.org/show_bug.cgi?id=17491)
- if (layoutObject && hadUseCurrentView)
- markForLayoutAndParentResourceInvalidation(layoutObject);
- return;
- }
-
if (fragmentIdentifier.startsWith("svgView(")) {
if (!view)
view = currentView(); // Create the SVGViewSpec.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698