blob: 33a7901eb87b1e1a1dea95466f3dd412a2eac623 [file] [log] [blame]
dbates@webkit.orgebddf382014-05-16 04:30:12 +00001<!DOCTYPE html>
2<html>
3<head>
4<script>
5if (window.testRunner)
6 testRunner.dumpAsText();
7</script>
8</head>
9<body>
10<p>This tests that we don't cause an assertion failure when implicitly removing a &lt;use&gt; (by removing its parent), with the same id as another element, that is referenced by a later &lt;animate&gt;.</p>
11<svg>
12 <use id="A"></use>
13 <use id="A"></use>
14 <animate xlink:href="#A"></animate>
15</svg>
16<script>
17var svg = document.querySelector("svg");
18document.body.removeChild(svg);
19</script>
20<p>PASS</p>
21</body>
22</html>