Index: LayoutTests/svg/custom/use-remove-referenced.html |
diff --git a/LayoutTests/svg/custom/use-remove-referenced.html b/LayoutTests/svg/custom/use-remove-referenced.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..794fb3ad827a24d31d06189fb8ecb47cadc38977 |
--- /dev/null |
+++ b/LayoutTests/svg/custom/use-remove-referenced.html |
@@ -0,0 +1,11 @@ |
+<!doctype html> |
+<title>Test removing the element referenced by a 'use'</title> |
+<svg> |
+ <defs> |
+ <circle id="c" cx="50" cy="50" r="25" fill="red"/> |
+ </defs> |
+ <circle cx="50" cy="50" r="22" fill="green"/> |
+ <use xlink:href="#c"/> |
+ <script>window.onload = function() { document.getElementById("c").remove(); }</script> |
+</svg> |
+ |