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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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')", "NodeList"); |
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", "Document"); | 96 test("xmlDocument", "XMLDocument"); |
97 test("xmlDocument.createCDATASection()", "CDATASection"); | 97 test("xmlDocument.createCDATASection()", "CDATASection"); |
98 test("xmlDocument.createElementNS('x', 'x', 'x')", "Element"); | 98 test("xmlDocument.createElementNS('x', 'x', 'x')", "Element"); |
99 test("xmlDocument.createProcessingInstruction('x', '')", "ProcessingInstruct
ion"); | 99 test("xmlDocument.createProcessingInstruction('x', '')", "ProcessingInstruct
ion"); |
100 | 100 |
101 debug(''); | 101 debug(''); |
102 debug('Events'); | 102 debug('Events'); |
103 debug(''); | 103 debug(''); |
104 | 104 |
105 test("document.createEvent('Event')", "Event"); | 105 test("document.createEvent('Event')", "Event"); |
106 test("document.createEvent('KeyboardEvent')", "KeyboardEvent"); | 106 test("document.createEvent('KeyboardEvent')", "KeyboardEvent"); |
(...skipping 189 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 |