| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <import src="../resources/chai.sky" /> | |
| 3 <import src="../resources/mocha.sky" /> | |
| 4 <script> | |
| 5 describe('DOMImplementation', function() { | |
| 6 it('should let you create a document', function() { | |
| 7 var doc = document.implementation.createDocument(); | |
| 8 assert.isNotNull(doc, 'createDocument should return a value'); | |
| 9 assert.doesNotThrow(function() { | |
| 10 doc.registerElement('x-foo'); | |
| 11 }, 'new document should have a registration context'); | |
| 12 }); | |
| 13 }); | |
| 14 </script> | |
| 15 </html> | |
| OLD | NEW |