1 <svg xmlns=
"http://www.w3.org/2000/svg" xmlns:
xlink=
"http://www.w3.org/1999/xlink" onload=
"runTest()">
5 var node = document.createElementNS(
"http://www.w3.org/2000/svg" ,
"rect");
6 node.setAttributeNS(null ,
"x" ,
"0");
7 node.setAttributeNS(null ,
"y" ,
"0");
8 node.setAttributeNS(null ,
"width",
"100");
9 node.setAttributeNS(null ,
"height" ,
"100");
10 node.setAttributeNS(null ,
"fill" ,
"green");
11 document.getElementById(
"groupA").appendChild(node)
16 <use xlink:
href=
"#groupA"/>
17 <text x=
"10" y=
"120" font-size=
"15">This test tries to change a container referenced by a
<use
>.
</text>
18 <text x=
"10" y=
"140" font-size=
"15">If it is successful, there should be a green rect above. Bug
15080.
</text>