<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<svg id="svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg">
<!-- Test for https://bugs.webkit.org/show_bug.cgi?id=106664 -->
<defs>
<symbol id="s1">
<use/>
<rect id="r1"/>
</symbol>
<use id="u1" xlink:href="#s1"/>
<style>
use { clip-path: url(#r1); }
</style>
</defs>
<text>PASS: Did not crash.</text>
<script>
function initCF() {
u1 = document.getElementById('u1');
clone = u1.cloneNode(false);
document.getElementById('svg').appendChild(clone);
}
if (window.testRunner)
testRunner.dumpAsText();
document.addEventListener("DOMContentLoaded", initCF, false);
</script>
</svg>