layout/base/crashtests/243159-2.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       xmlns:mathml="http://www.w3.org/1998/Math/MathML">
     3       <body onload="run()">
     4       <mathml:math id="test" style="display: block">
     5       </mathml:math>
     6 <script>
     7   function run() {
     8     var t1 = document.createElementNS("http://www.w3.org/1998/Math/MathML",
     9                                       "mtable");
    10     var t2 = document.createElementNS("http://www.w3.org/1998/Math/MathML",
    11                                       "mtable");
    12     var r1 = document.createElementNS("http://www.w3.org/1998/Math/MathML",
    13                                       "mtr");
    14     var r2 = document.createElementNS("http://www.w3.org/1998/Math/MathML",
    15                                       "mtr");
    16     var test =
    17       document.getElementsByTagNameNS("http://www.w3.org/1998/Math/MathML", "math")[0];
    18     t1.appendChild(r1);
    19     test.appendChild(t1);
    20     test.appendChild(t2);
    21     t2.appendChild(r2);
    23   }
    24 </script>
    25 </body>
    26 </html>

mercurial