layout/base/crashtests/243159-2.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/base/crashtests/243159-2.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml"
     1.5 +      xmlns:mathml="http://www.w3.org/1998/Math/MathML">
     1.6 +      <body onload="run()">
     1.7 +      <mathml:math id="test" style="display: block">
     1.8 +      </mathml:math>
     1.9 +<script>
    1.10 +  function run() {
    1.11 +    var t1 = document.createElementNS("http://www.w3.org/1998/Math/MathML",
    1.12 +                                      "mtable");
    1.13 +    var t2 = document.createElementNS("http://www.w3.org/1998/Math/MathML",
    1.14 +                                      "mtable");
    1.15 +    var r1 = document.createElementNS("http://www.w3.org/1998/Math/MathML",
    1.16 +                                      "mtr");
    1.17 +    var r2 = document.createElementNS("http://www.w3.org/1998/Math/MathML",
    1.18 +                                      "mtr");
    1.19 +    var test =
    1.20 +      document.getElementsByTagNameNS("http://www.w3.org/1998/Math/MathML", "math")[0];
    1.21 +    t1.appendChild(r1);
    1.22 +    test.appendChild(t1);
    1.23 +    test.appendChild(t2);
    1.24 +    t2.appendChild(r2);
    1.25 +    
    1.26 +  }
    1.27 +</script>
    1.28 +</body>
    1.29 +</html>

mercurial