layout/mathml/crashtests/402400-1.xhtml

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     1 <html xmlns="http://www.w3.org/1999/xhtml">
     2 <head>
     3 <script type="text/javascript">
     5 function boom()
     6 {
     7   var textB = document.createTextNode("b");
     8   var textC = document.createTextNode("c");
     9   var textN = document.createTextNode("n");
    10   var textP = document.createTextNode("p");
    12   var blv = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
    13   var odj = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
    14   var tr = document.createElementNS("http://www.w3.org/1999/xhtml", "tr");
    15   var td = document.createElementNS("http://www.w3.org/1999/xhtml", "td");
    16   var mathMO = document.createElementNS("http://www.w3.org/1998/Math/MathML", "mo");
    18   td.appendChild(textB);
    19   document.body.appendChild(blv);
    20   blv.appendChild(tr);
    21   blv.appendChild(mathMO);
    22   mathMO.appendChild(textP);
    23   odj.appendChild(td);
    24   odj.appendChild(textN);
    26   blv.removeChild(tr);
    27   mathMO.appendChild(odj);
    28   td.removeChild(textB);
    29   blv.appendChild(textC);
    30   document.body.appendChild(odj);
    31   odj.insertBefore(mathMO, textN);
    32   document.body.appendChild(mathMO);
    33   mathMO.appendChild(odj);
    34 }
    36 </script>
    37 </head>
    39 <body onload="boom();"></body>
    41 </html>

mercurial