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 |
(...skipping 42 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 |