Test for bug 547333.

This commit is contained in:
Daniel Holbert 2010-02-25 10:20:44 -08:00
parent af8245235d
commit 4886418c6c
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,22 @@
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg"
class="reftest-wait">
<script type="text/javascript">
<![CDATA[
function boom()
{
document.getElementsByTagName("animate")[0].setAttributeNS(null, "attributeName", "font-size");
document.getElementsByTagName("text")[0].setAttributeNS(null, "fill", "green");
document.documentElement.removeAttributeNS(null, "x");
document.documentElement.removeAttribute("class");
}
window.addEventListener("load", boom, false);
]]>
</script>
<text>abc<animate/></text>
</svg>

After

Width:  |  Height:  |  Size: 540 B

View File

@ -5,3 +5,4 @@ load 526875-1.svg
load 526875-2.svg
load 529387-1.xhtml
load 537157-1.svg
load 547333-1.svg