| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <p> | 7 <p> |
| 8 This tests the behavior of Range::isPointInRange when the point and | 8 This tests the behavior of Range::isPointInRange when the point and |
| 9 the range are in different documents. | 9 the range are in different documents. |
| 10 </p> | 10 </p> |
| 11 | 11 |
| 12 <script> | 12 <script> |
| 13 var docType = document.implementation.createDocumentType ('html', ''
, ''); | 13 var docType = document.implementation.createDocumentType ('html', ''
, ''); |
| 14 var doc = document.implementation.createDocument('', 'html', docType
); | 14 var doc = document.implementation.createDocument('', 'html', docType
); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 28 shouldBeFalse("range.isPointInRange(testNode, 1)"); | 28 shouldBeFalse("range.isPointInRange(testNode, 1)"); |
| 29 } | 29 } |
| 30 catch (error) { | 30 catch (error) { |
| 31 testFailed('isPointInRange throw an exception of type ' + error.
code + '.'); | 31 testFailed('isPointInRange throw an exception of type ' + error.
code + '.'); |
| 32 } | 32 } |
| 33 | 33 |
| 34 document.body.removeChild(testNode); | 34 document.body.removeChild(testNode); |
| 35 </script> | 35 </script> |
| 36 </body> | 36 </body> |
| 37 </html> | 37 </html> |
| OLD | NEW |