commit-queue@webkit.org | 1264d9e | 2011-06-04 10:32:26 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <html xmlns='http://www.w3.org/1999/xhtml'> |
| 3 | <head> |
| 4 | <title>Subscript and Superscripts</title> |
| 5 | <script> |
| 6 | if (window.layoutTestController) |
| 7 | layoutTestController.dumpAsText(); |
| 8 | </script> |
| 9 | </head> |
| 10 | <body> |
| 11 | <math id="m1" xmlns='http://www.w3.org/1998/Math/MathML'> |
| 12 | <mtext>This test passes if the page has no other text.</mtext> |
| 13 | <msubsup id="m2"> |
| 14 | <mi id="m3">Z</mi> |
| 15 | <mrow id="m4"><mi id="m5">x</mi><mo id="m6">+</mo><mi id="m7">y</mi><mo id="m8">+</mo><mi id="m9">z</mi></mrow> |
| 16 | <mi id="m10">j</mi> |
| 17 | </msubsup> |
| 18 | </math> |
| 19 | <script> |
| 20 | try { |
| 21 | document.getElementById("m2").textContent=undefined; |
| 22 | } catch(e) {document.write("Error: " + e.name + ": " + e.message + + " for " + i);} |
| 23 | </script> |
| 24 | </body> |
| 25 | </html> |