| 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" style="display:block"></div> | 11 <div id="log" style="display:block"></div> |
| 12 | 12 |
| 13 <div style="display:none"> | 13 <div style="display:none"> |
| 14 <div><math id="m1"><mtext/></math></div> | 14 <div><math id="m1"><mtext/></math></div> |
| 15 <div id="d1"><math><mrow/><mi/></math></div> | 15 <div id="d1"><math><mrow/><mi/></math></div> |
| 16 <div id="d2"><math><mrow><mrow><mn>1</mn></mrow><mi>a</mi></mrow></math></div> | 16 <div id="d2"><math><mrow><mrow><mn>1</mn></mrow><mi>a</mi></mrow></math></div> |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 53 |
| 54 test(function() { | 54 test(function() { |
| 55 assert_equals(document.getElementById("d5").firstChild.firstChild.childNodes[1].
childNodes.length ,2) | 55 assert_equals(document.getElementById("d5").firstChild.firstChild.childNodes[1].
childNodes.length ,2) |
| 56 },"Empty element tags in annotation-xml parsed as per XML."); | 56 },"Empty element tags in annotation-xml parsed as per XML."); |
| 57 | 57 |
| 58 test(function() { | 58 test(function() { |
| 59 assert_equals(document.getElementById("d6").firstChild.childNodes.length ,2) | 59 assert_equals(document.getElementById("d6").firstChild.childNodes.length ,2) |
| 60 },"html tags allowed in annotation-xml/@encoding='text/html'."); | 60 },"html tags allowed in annotation-xml/@encoding='text/html'."); |
| 61 | 61 |
| 62 </script> | 62 </script> |
| OLD | NEW |