commit-queue@webkit.org | d933d41 | 2011-06-20 19:35:50 +0000 | [diff] [blame] | 1 | <html xmlns='http://www.w3.org/1999/xhtml'> |
| 2 | <head> |
| 3 | <title>msubsup javascript superscript change test</title> |
| 4 | </head> |
| 5 | <body> |
| 6 | <p> |
| 7 | <math xmlns='http://www.w3.org/1998/Math/MathML'> |
| 8 | <msubsup id="subsup"><mi>x</mi><mn>1</mn><mi>k</mi></msubsup> |
| 9 | </math> |
| 10 | </p> |
| 11 | <script type='text/javascript'> |
| 12 | var msubsup = document.getElementById("subsup"); |
| 13 | msubsup.removeChild(msubsup.firstChild.nextSibling.nextSibling); |
| 14 | var sup = document.createElementNS("http://www.w3.org/1998/Math/MathML","mi"); |
| 15 | sup.appendChild(document.createTextNode("j")); |
| 16 | msubsup.appendChild(sup); |
| 17 | </script> |
| 18 | </body> |
| 19 | </html> |