layout/mathml/crashtests/307826-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" class="reftest-wait">
     3 <head>
     5 <title>Testcase for MathML crash</title>
     7 <script><![CDATA[
     9 function boom() {
    10   var div = document.getElementById("div"); 
    11   var mi = document.getElementById("mi"); 
    12   mi.appendChild(div);
    13   mi.removeChild(div);
    15   document.documentElement.removeAttribute("class");
    16 }
    18 ]]></script>
    20 </head>
    23 <body onload="setTimeout(boom, 30);">
    25 <div style="float: right;" id="div">Floated div</div>
    27 <math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><mi id="mi">mi</mi></math>
    29 </body>
    30 </html>

mercurial