1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/svg/crashtests/338312-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.5 +<head> 1.6 +<script> 1.7 + 1.8 + 1.9 +function boom() 1.10 +{ 1.11 + document.getElementById("foo").appendChild(document.getElementById("bar")); 1.12 +} 1.13 + 1.14 +window.addEventListener("load", boom, false); 1.15 + 1.16 +</script> 1.17 +</head> 1.18 + 1.19 +<body> 1.20 + 1.21 + <div id="foo"></div> 1.22 + 1.23 + <svg xmlns="http://www.w3.org/2000/svg"> 1.24 + <defs> 1.25 + <linearGradient id="grad1"/> 1.26 + </defs> 1.27 + <rect id="bar" style="fill:url(#grad1);" /> 1.28 + </svg> 1.29 + 1.30 +</body> 1.31 +</html>