diff options
Diffstat (limited to 'gfx/tests/crashtests/385228-2.svg')
-rw-r--r-- | gfx/tests/crashtests/385228-2.svg | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gfx/tests/crashtests/385228-2.svg b/gfx/tests/crashtests/385228-2.svg new file mode 100644 index 000000000..82586fcfa --- /dev/null +++ b/gfx/tests/crashtests/385228-2.svg @@ -0,0 +1,20 @@ +<svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 480 360" onload="yaa();" class="reftest-wait"> + +<g id="g"> + <rect width="440" height="340" fill="url(#pat1)"/> + <pattern id="pat1" width="20" height="20"><rect/></pattern> +</g> + +<script type="text/javascript"> + +function yaa() +{ + var g = document.getElementById("g"); + document.documentElement.removeChild(g); + document.documentElement.appendChild(g); + + document.documentElement.removeAttribute("class"); +} +</script> + +</svg> |