23 lines
543 B
HTML
23 lines
543 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<p>This tests that we don't cause an assertion failure when implicitly removing a <use> (by removing its parent), with the same id as another element, that is referenced by a later <feimage>.</p>
|
|
<svg>
|
|
<use id="A"></use>
|
|
<use id="A"></use>
|
|
<feimage xlink:href="#A"></feimage>
|
|
</svg>
|
|
<script>
|
|
var svg = document.querySelector("svg");
|
|
document.body.removeChild(svg);
|
|
</script>
|
|
<p>PASS</p>
|
|
</body>
|
|
</html>
|