layout/mathml/crashtests/370791-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" xmlns:math="http://www.w3.org/1998/Math/MathML" class="reftest-wait"> 
     2 <head>
     3 <script>
     5 function boom()
     6 {
     7   var mi = document.getElementById("mi");
     8   var textA = mi.firstChild;
     9   var textB = document.createTextNode("b");
    10   var textSpace = document.createTextNode(" ");
    12   var floater = document.getElementById("floater");
    14   mi.appendChild(textB);
    15   mi.appendChild(textSpace);
    16   mi.removeChild(textA);
    17   mi.removeChild(textSpace);
    19   floater.parentNode.removeChild(floater);
    21   document.documentElement.removeAttribute("class");
    22 }
    24 </script>
    25 </head>
    27 <body onload="setTimeout(boom, 30);">
    29 <math:mi id="mi">a<p><span style="float: right;" id="floater" /></p></math:mi>
    31 </body>
    33 </html>

mercurial