layout/reftests/bugs/414123.xhtml

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 <?xml version="1.0" encoding="UTF-8"?>
michael@0 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
michael@0 3 <html xmlns="http://www.w3.org/1999/xhtml">
michael@0 4 <head>
michael@0 5 <title>Testcase for bug 414123</title>
michael@0 6 <script>
michael@0 7 function boom() {
michael@0 8 var t = document.createTextNode('M')
michael@0 9 document.getElementById('mi1').appendChild(t);
michael@0 10
michael@0 11 var mi = document.createElementNS("http://www.w3.org/1998/Math/MathML", "mi");
michael@0 12 var mn = document.createElementNS("http://www.w3.org/1998/Math/MathML", "mn");
michael@0 13 var msup = document.createElementNS("http://www.w3.org/1998/Math/MathML", "msup");
michael@0 14 mi.appendChild(document.createTextNode('M'));
michael@0 15 mn.appendChild(document.createTextNode('2'));
michael@0 16 msup.appendChild(mi);
michael@0 17 msup.appendChild(mn);
michael@0 18 document.getElementById('m').appendChild(msup);
michael@0 19 }
michael@0 20 </script>
michael@0 21 </head>
michael@0 22 <body onload="boom()">
michael@0 23
michael@0 24 <math xmlns="http://www.w3.org/1998/Math/MathML">
michael@0 25 <msup>
michael@0 26 <mi id="mi1"></mi>
michael@0 27 <mn>2</mn>
michael@0 28 </msup>
michael@0 29 </math>
michael@0 30
michael@0 31 <math xmlns="http://www.w3.org/1998/Math/MathML">
michael@0 32 <msup>
michael@0 33 <mi>M</mi>
michael@0 34 <mn>2</mn>
michael@0 35 </msup>
michael@0 36 </math>
michael@0 37
michael@0 38 <math id="m" xmlns="http://www.w3.org/1998/Math/MathML"></math>
michael@0 39
michael@0 40 </body>
michael@0 41 </html>
michael@0 42

mercurial