OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../../resources/js-test.js"></script> | 3 <script src="../../resources/js-test.js"></script> |
4 <style id="style" media="screen"> | 4 <style id="style" media="screen"> |
5 .non-existent-class { | 5 .non-existent-class { |
6 color: rgb(0, 0, 0); | 6 color: rgb(0, 0, 0); |
7 clip: rect(0, 0, 1, 1); | 7 clip: rect(0, 0, 1, 1); |
8 content: counter(dummy, square); | 8 content: counter(dummy, square); |
9 } | 9 } |
10 </style> | 10 </style> |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 77 |
78 debug('Basics'); | 78 debug('Basics'); |
79 debug(''); | 79 debug(''); |
80 | 80 |
81 test("document.createAttribute()", "Attr"); | 81 test("document.createAttribute()", "Attr"); |
82 test("document.createComment('')", "Comment"); | 82 test("document.createComment('')", "Comment"); |
83 test("document.createDocumentFragment()", "DocumentFragment"); | 83 test("document.createDocumentFragment()", "DocumentFragment"); |
84 test("document.implementation", "DOMImplementation"); | 84 test("document.implementation", "DOMImplementation"); |
85 test("root.attributes", "NamedNodeMap"); | 85 test("root.attributes", "NamedNodeMap"); |
86 test("document.createNodeIterator(root, 0, null, false)", "NodeIterator"); | 86 test("document.createNodeIterator(root, 0, null, false)", "NodeIterator"); |
87 test("document.getElementsByTagName('div')", "NodeList"); | 87 test("document.getElementsByTagName('div')", "HTMLCollection"); |
88 test("document.createRange()", "Range"); | 88 test("document.createRange()", "Range"); |
89 test("document.createTextNode('')", "Text"); | 89 test("document.createTextNode('')", "Text"); |
90 test("document.createTreeWalker(root, 0, null, false)", "TreeWalker"); | 90 test("document.createTreeWalker(root, 0, null, false)", "TreeWalker"); |
91 | 91 |
92 debug(''); | 92 debug(''); |
93 debug('XML'); | 93 debug('XML'); |
94 debug(''); | 94 debug(''); |
95 | 95 |
96 test("xmlDocument", "XMLDocument"); | 96 test("xmlDocument", "XMLDocument"); |
97 test("xmlDocument.createCDATASection()", "CDATASection"); | 97 test("xmlDocument.createCDATASection()", "CDATASection"); |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 | 296 |
297 function frameLoaded() | 297 function frameLoaded() |
298 { | 298 { |
299 runTest(); | 299 runTest(); |
300 } | 300 } |
301 | 301 |
302 </script> | 302 </script> |
303 <iframe id="xmlframe" onload="frameLoaded()" style="height:0px" src="data:applic
ation/xhtml+xml,<?xml version='1.0' encoding='UTF-8'?><body/>"></iframe> | 303 <iframe id="xmlframe" onload="frameLoaded()" style="height:0px" src="data:applic
ation/xhtml+xml,<?xml version='1.0' encoding='UTF-8'?><body/>"></iframe> |
304 </body> | 304 </body> |
305 </html> | 305 </html> |
OLD | NEW |