Index: third_party/WebKit/LayoutTests/svg/custom/use-external-base-change-assert.html |
diff --git a/third_party/WebKit/LayoutTests/svg/custom/use-external-base-change-assert.html b/third_party/WebKit/LayoutTests/svg/custom/use-external-base-change-assert.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4efb79d9446967f2a37fa73d287d015ef6c38bdd |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/svg/custom/use-external-base-change-assert.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<svg> |
+ <use href="resources/linkingCircle-f.svg#circle-1"> |
+ <script> |
pdr.
2016/07/22 01:41:53
Nit: Can you move the script out of the use? I che
|
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ var baseElement = document.createElement("base"); |
+ baseElement.setAttribute("href", "http://www.example.com/"); |
+ document.head.appendChild(baseElement); |
+ </script> |
+ </use> |
+</svg> |
+<p>PASS if no assert in debug</p> |