diff options
Diffstat (limited to 'gfx/tests/crashtests/385228-1.svg')
-rw-r--r-- | gfx/tests/crashtests/385228-1.svg | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gfx/tests/crashtests/385228-1.svg b/gfx/tests/crashtests/385228-1.svg new file mode 100644 index 0000000000..ec448b5b30 --- /dev/null +++ b/gfx/tests/crashtests/385228-1.svg @@ -0,0 +1,22 @@ +<svg xmlns="http://www.w3.org/2000/svg" onload="setTimeout(boom, 10);" class="reftest-wait"> + +<script type="text/javascript"> + +function boom() +{ + var ttt = document.getElementById("ttt"); + ttt.appendChild(document.createTextNode("Pattern on stroke")); + ttt.appendChild(document.createTextNode("\n")); + ttt.appendChild(document.createTextNode("\n")); + + document.documentElement.removeAttribute("class"); +} + +</script> + + +<text id="ttt" stroke="url(#pat2)" x="25" y="275"></text> + +<pattern id="pat2" width="20" height="1000"><g/></pattern> + +</svg> |