layout/svg/crashtests/354777-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/svg/crashtests/354777-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 +
     1.6 +<head>
     1.7 +<script>
     1.8 +
     1.9 +var SVG_NS = "http://www.w3.org/2000/svg";
    1.10 +
    1.11 +function boom()
    1.12 +{
    1.13 +  var svgElem = document.createElementNS(SVG_NS, "svg");
    1.14 +  var ellipse = document.createElementNS(SVG_NS, "ellipse");
    1.15 +
    1.16 +  svgElem.setAttribute("viewBox", "0 0 30 40"); 
    1.17 +  document.body.appendChild(svgElem);
    1.18 +  document.body.appendChild(ellipse);
    1.19 +  ellipse.appendChild(svgElem);
    1.20 +  svgElem.removeAttribute("viewBox");
    1.21 +}
    1.22 +
    1.23 +</script>
    1.24 +</head>
    1.25 +
    1.26 +<body onload="boom()">
    1.27 +
    1.28 +</body>
    1.29 +
    1.30 +</html>
    1.31 +

mercurial