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

Unified Diff: third_party/WebKit/LayoutTests/svg/animations/local-url-target-reference.html

Issue 2174833002: Make fragment-only URLs always be document-local references (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove isExternal...; add additional test Created 4 years, 5 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
Index: third_party/WebKit/LayoutTests/svg/animations/local-url-target-reference.html
diff --git a/third_party/WebKit/LayoutTests/svg/animations/local-url-target-reference.html b/third_party/WebKit/LayoutTests/svg/animations/local-url-target-reference.html
new file mode 100644
index 0000000000000000000000000000000000000000..489857593ec603605264dbae6036ad9815b98d72
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/animations/local-url-target-reference.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<base href="http://www.example.com/">
+<svg>
+ <script>
+ var svgRoot = document.querySelector('svg');
+ svgRoot.pauseAnimations();
+ svgRoot.setCurrentTime(1);
+ </script>
+ <defs>
+ <path id="path" d="M100,0z"/>
+ </defs>
+ <rect width="100" height="100" fill="green">
+ <animateMotion dur="0.01" fill="freeze">
+ <mpath xlink:href="#path"/>
+ </animateMotion>
+ </rect>
+ <rect id="rect" width="100" height="100" fill="red"/>
+ <set attributeName="fill" xlink:href="#rect" to="green" dur="indefinite"/>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698