| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>math in html: parsing</title> | 4 <title>math in html: parsing</title> |
| 5 <script src="../../../../../resources/testharness.js"></script> | 5 <script src="/resources/testharness.js"></script> |
| 6 <script src="../../../../../resources/testharnessreport.js"></script> | 6 <script src="/resources/testharnessreport.js"></script> |
| 7 </head> | 7 </head> |
| 8 <body> | 8 <body> |
| 9 <h1>math in html: parsing</h1> | 9 <h1>math in html: parsing</h1> |
| 10 | 10 |
| 11 <div id="log"></div> | 11 <div id="log"></div> |
| 12 | 12 |
| 13 <div> | 13 <div> |
| 14 <div><MATH id="m1"><Mtext/></math></div> | 14 <div><MATH id="m1"><Mtext/></math></div> |
| 15 <div id="d1"><math><MI MATHVARIANT="BOLD" /></math></div> | 15 <div id="d1"><math><MI MATHVARIANT="BOLD" /></math></div> |
| 16 <div id="d2"><math><semantics DEFINITIONurl="www.example.org/FOO"><mi>a</mi><ann
otation-xml><foo/><bar/></annotation-xml></semantics></math></div> | 16 <div id="d2"><math><semantics DEFINITIONurl="www.example.org/FOO"><mi>a</mi><ann
otation-xml><foo/><bar/></annotation-xml></semantics></math></div> |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 test(function() { | 123 test(function() { |
| 124 assert_equals(document.getElementById("p6applicationxhtmlxml").parentNode.nodeNa
me,"annotation-xml") | 124 assert_equals(document.getElementById("p6applicationxhtmlxml").parentNode.nodeNa
me,"annotation-xml") |
| 125 },"p in annotation-xml encoding=application/xhtml+xml stays as child of annotati
on-xml"); | 125 },"p in annotation-xml encoding=application/xhtml+xml stays as child of annotati
on-xml"); |
| 126 | 126 |
| 127 test(function() { | 127 test(function() { |
| 128 assert_equals(document.getElementById("p6foo").parentNode.nodeName,"DIV") | 128 assert_equals(document.getElementById("p6foo").parentNode.nodeName,"DIV") |
| 129 },"p in annotation-xml encoding=foo moves to be child of DIV"); | 129 },"p in annotation-xml encoding=foo moves to be child of DIV"); |
| 130 </script> | 130 </script> |
| 131 </body> | 131 </body> |
| 132 </html> | 132 </html> |
| OLD | NEW |