<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runTest()">
<script><![CDATA[
function runTest()
{
var node = document.createElementNS("http://www.w3.org/2000/svg" , "rect");
node.setAttributeNS(null , "x" , "0");
node.setAttributeNS(null , "y" , "0");
node.setAttributeNS(null , "width", "100");
node.setAttributeNS(null , "height" , "100");
node.setAttributeNS(null , "fill" , "green");
document.getElementById("groupA").appendChild(node)
}
]]></script>
<defs>
<g id="groupA">
</g>
</defs>
<use xlink:href="#groupA"/>
<text x="10" y="120" font-size="15">This test tries to change a container referenced by a <use>.</text>
<text x="10" y="140" font-size="15">If it is successful, there should be a green rect above. Bug 15080.</text>
</svg>