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

Unified Diff: Source/core/svg/SVGAElement.cpp

Issue 249313005: Allow fragment navigation from <svg:a> (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More test tweaks. Created 6 years, 8 months 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 | « LayoutTests/svg/hixie/links/003-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAElement.cpp
diff --git a/Source/core/svg/SVGAElement.cpp b/Source/core/svg/SVGAElement.cpp
index 056f9731098c5349825228cb5be2acc1bdac89c7..e6a8c9140fec01ee8cd2ba6d78cb5e940960b1d3 100644
--- a/Source/core/svg/SVGAElement.cpp
+++ b/Source/core/svg/SVGAElement.cpp
@@ -154,9 +154,6 @@ void SVGAElement::defaultEventHandler(Event* event)
event->setDefaultHandled();
return;
}
- // Only allow navigation to internal <view> anchors.
- if (targetElement && !isSVGViewElement(*targetElement))
- return;
}
AtomicString target(m_svgTarget->currentValue()->value());
« no previous file with comments | « LayoutTests/svg/hixie/links/003-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698