layout/mathml/crashtests/402400-1.xhtml

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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