14 lines
554 B
XML
14 lines
554 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<svg xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" onload="runTest()">
|
|
<title id="test-title">Remove attribute test</title>
|
|
<desc id="test-desc">Remove attribute test</desc>
|
|
|
|
<script ><![CDATA[
|
|
function runTest() {
|
|
document.getElementById("green").removeAttributeNS(null,"transform");
|
|
}
|
|
]]></script>
|
|
<rect id="green" x="20" y="20" width="200" height="200" fill="green" transform="translate(0,5000)"/>
|
|
</svg>
|