| OLD | NEW |
| 1 CONSOLE WARNING: 'Range.detach' is now a no-op, as per DOM (http://dom.spec.what
wg.org/#dom-range-detach). | 1 CONSOLE WARNING: 'Range.detach' is now a no-op, as per DOM (http://dom.spec.what
wg.org/#dom-range-detach). |
| 2 This test checks the behavior of the intersectsNode() method on the Range object
. | 2 This test checks the behavior of the intersectsNode() method on the Range object
. |
| 3 It covers all configurations of the node/Range relationship and some exception c
onditions. | 3 It covers all configurations of the node/Range relationship and some exception c
onditions. |
| 4 | 4 |
| 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 6 | 6 |
| 7 | 7 |
| 8 1.1 Node starts before the range and ends before the range | 8 1.1 Node starts before the range and ends before the range |
| 9 PASS intersects is false | 9 PASS intersects is false |
| 10 | 10 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 2.3 Node has no parent | 53 2.3 Node has no parent |
| 54 PASS range.intersectsNode(document) threw exception NotFoundError: Failed to exe
cute 'intersectsNode' on 'Range': The node provided has no parent.. | 54 PASS range.intersectsNode(document) threw exception NotFoundError: Failed to exe
cute 'intersectsNode' on 'Range': The node provided has no parent.. |
| 55 | 55 |
| 56 2.4 Range has no parent | 56 2.4 Range has no parent |
| 57 PASS range.selectNode(document) threw exception InvalidNodeTypeError: Failed to
execute 'selectNode' on 'Range': the given Node has no parent.. | 57 PASS range.selectNode(document) threw exception InvalidNodeTypeError: Failed to
execute 'selectNode' on 'Range': the given Node has no parent.. |
| 58 | 58 |
| 59 2.5 Wrong documents | 59 2.5 Wrong documents |
| 60 PASS intersects is false | 60 PASS intersects is false |
| 61 | 61 |
| 62 2.6 Node deleted | 62 2.6 Node deleted |
| 63 PASS range.intersectsNode(node) threw exception NotFoundError: Failed to execute
'intersectsNode' on 'Range': The node provided is null.. | 63 PASS range.intersectsNode(node) threw exception TypeError: Failed to execute 'in
tersectsNode' on 'Range': parameter 1 is not of type 'Node'.. |
| 64 | 64 |
| 65 PASS successfullyParsed is true | 65 PASS successfullyParsed is true |
| 66 | 66 |
| 67 TEST COMPLETE | 67 TEST COMPLETE |
| 68 | 68 |
| OLD | NEW |