OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../js/resources/js-test-pre.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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 test("document.createTextNode()", "Text"); | 83 test("document.createTextNode()", "Text"); |
84 test("document.createTreeWalker(root, 0, null, false)", "TreeWalker"); | 84 test("document.createTreeWalker(root, 0, null, false)", "TreeWalker"); |
85 | 85 |
86 debug(''); | 86 debug(''); |
87 debug('XML'); | 87 debug('XML'); |
88 debug(''); | 88 debug(''); |
89 | 89 |
90 test("xmlDocument", "Document"); | 90 test("xmlDocument", "Document"); |
91 test("xmlDocument.createCDATASection()", "CDATASection"); | 91 test("xmlDocument.createCDATASection()", "CDATASection"); |
92 test("xmlDocument.createElementNS('x', 'x', 'x')", "Element"); | 92 test("xmlDocument.createElementNS('x', 'x', 'x')", "Element"); |
93 test("xmlDocument.createEntityReference()", "EntityReference"); | |
94 test("xmlDocument.createProcessingInstruction()", "ProcessingInstruction"); | 93 test("xmlDocument.createProcessingInstruction()", "ProcessingInstruction"); |
95 | 94 |
96 debug(''); | 95 debug(''); |
97 debug('Events'); | 96 debug('Events'); |
98 debug(''); | 97 debug(''); |
99 | 98 |
100 test("document.createEvent('Event')", "Event"); | 99 test("document.createEvent('Event')", "Event"); |
101 test("document.createEvent('KeyboardEvent')", "KeyboardEvent"); | 100 test("document.createEvent('KeyboardEvent')", "KeyboardEvent"); |
102 test("document.createEvent('MouseEvent')", "MouseEvent"); | 101 test("document.createEvent('MouseEvent')", "MouseEvent"); |
103 test("document.createEvent('MutationEvent')", "MutationEvent"); | 102 test("document.createEvent('MutationEvent')", "MutationEvent"); |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 | 290 |
292 function frameLoaded() | 291 function frameLoaded() |
293 { | 292 { |
294 runTest(); | 293 runTest(); |
295 } | 294 } |
296 | 295 |
297 </script> | 296 </script> |
298 <iframe id="xmlframe" onload="frameLoaded()" style="height:0px" src="data:applic
ation/xhtml+xml,<?xml version='1.0' encoding='UTF-8'?><body/>"></iframe> | 297 <iframe id="xmlframe" onload="frameLoaded()" style="height:0px" src="data:applic
ation/xhtml+xml,<?xml version='1.0' encoding='UTF-8'?><body/>"></iframe> |
299 </body> | 298 </body> |
300 </html> | 299 </html> |
OLD | NEW |