layout/base/crashtests/243159-2.xhtml

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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

mercurial