mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Test for bug 547333.
This commit is contained in:
parent
af8245235d
commit
4886418c6c
22
content/smil/crashtests/547333-1.svg
Normal file
22
content/smil/crashtests/547333-1.svg
Normal 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 |
@ -5,3 +5,4 @@ load 526875-1.svg
|
||||
load 526875-2.svg
|
||||
load 529387-1.xhtml
|
||||
load 537157-1.svg
|
||||
load 547333-1.svg
|
||||
|
Loading…
Reference in New Issue
Block a user