1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/svg/crashtests/366956-2.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,61 @@ 1.4 +<svg xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml" onload="setTimeout(boom1, 30);" class="reftest-wait"> 1.5 + 1.6 +<html:script> 1.7 + 1.8 +function boom1() 1.9 +{ 1.10 + document.getElementsByTagName("mi")[0].setAttribute('id', "ffff"); 1.11 + 1.12 + document.getElementById("fo").appendChild(document.createTextNode(" ")); 1.13 + 1.14 + boom2(); 1.15 +} 1.16 + 1.17 +function boom2() 1.18 +{ 1.19 + var fodiv = document.getElementById("fodiv"); 1.20 + fodiv.parentNode.removeChild(fodiv); 1.21 + 1.22 + document.documentElement.removeAttribute("class"); 1.23 +} 1.24 + 1.25 +</html:script> 1.26 + 1.27 + 1.28 + <g> 1.29 + <foreignObject width="500" height="500" transform="scale(.7,.7)" id="fo" y="300"> 1.30 + 1.31 +<div id="fodiv" xmlns="http://www.w3.org/1999/xhtml"> 1.32 + 1.33 + 1.34 + 1.35 +<p>0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 990 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 990 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 990 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99</p> 1.36 + 1.37 + 1.38 + 1.39 +<div><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"> 1.40 +<mrow> 1.41 + <mi>A</mi> 1.42 +</mrow> 1.43 +</math></div> 1.44 + 1.45 + 1.46 +<svg xmlns="http://www.w3.org/2000/svg" id="svg" viewbox="0 0 250 250" width="100" height="100"> 1.47 + <style type="text/css"> 1.48 + circle:hover {fill-opacity:0.9;} 1.49 + </style> 1.50 + 1.51 + <g style="fill-opacity:0.7;" transform="scale(.2)"> 1.52 + <circle cx="6.5cm" cy="2cm" r="100" style="fill:red; stroke:black; stroke-width:0.1cm" transform="translate(0,50)" /> 1.53 + <circle cx="6.5cm" cy="2cm" r="100" style="fill:blue; stroke:black; stroke-width:0.1cm" transform="translate(70,150)" /> 1.54 + <circle cx="6.5cm" cy="2cm" r="100" style="fill:green; stroke:black; stroke-width:0.1cm" transform="translate(-70,150)"/> 1.55 + </g> 1.56 +</svg> 1.57 + 1.58 +</div> 1.59 +</foreignObject> 1.60 +</g> 1.61 + 1.62 + 1.63 + 1.64 +</svg>