layout/mathml/crashtests/366564-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.)

michael@0 1 <?xml version='1.0' encoding='utf-8'?>
michael@0 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd" >
michael@0 3 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
michael@0 4 <head>
michael@0 5 <script>
michael@0 6 function boom1()
michael@0 7 {
michael@0 8 document.getElementById("mfenced3").appendChild(document.getElementById("div4"));
michael@0 9 setTimeout(boom2, 30);
michael@0 10 }
michael@0 11
michael@0 12 function boom2()
michael@0 13 {
michael@0 14 document.getElementById("sup1").appendChild(document.getElementById("mo2"));
michael@0 15 document.documentElement.removeAttribute("class");
michael@0 16 }
michael@0 17
michael@0 18 </script>
michael@0 19 </head>
michael@0 20
michael@0 21 <body onload="setTimeout(boom1, 30);">
michael@0 22
michael@0 23 <div><math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
michael@0 24 <msup id="sup1">
michael@0 25 <mi>b</mi>
michael@0 26 <mn>2</mn>
michael@0 27 </msup>
michael@0 28 </math></div>
michael@0 29
michael@0 30 <div><math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
michael@0 31 <mi>j</mi>
michael@0 32 <mo id="mo2">=</mo>
michael@0 33 <mfenced id="mfenced3" open="[" close="]">
michael@0 34 <mn>55</mn>
michael@0 35 </mfenced>
michael@0 36 </math></div>
michael@0 37
michael@0 38 <div id="div4"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
michael@0 39 <mo> &int; </mo>
michael@0 40 </math></div>
michael@0 41
michael@0 42 </body>
michael@0 43
michael@0 44 </html>

mercurial