Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Side by Side Diff: LayoutTests/fast/dom/Range/range-intersectsNode-expected.txt

Issue 23404003: Make Range methods to work with detached node (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 2013-08-27T11:16:22 Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 This test checks the behavior of the intersectsNode() method on the Range object . 1 This test checks the behavior of the intersectsNode() method on the Range object .
2 It covers all configurations of the node/Range relationship and some exception c onditions. 2 It covers all configurations of the node/Range relationship and some exception c onditions.
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 1.1 Node starts before the range and ends before the range 7 1.1 Node starts before the range and ends before the range
8 PASS intersects is false 8 PASS intersects is false
9 9
10 1.2 Node starts before the range, and range ends on a 1 10 1.2 Node starts before the range, and range ends on a 1
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 2.1 Detached Range, attached node 46 2.1 Detached Range, attached node
47 PASS detachedRange.intersectsNode(document.getElementById('a1')) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no l onger, usable.. 47 PASS detachedRange.intersectsNode(document.getElementById('a1')) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no l onger, usable..
48 48
49 2.2 attached range, detached node 49 2.2 attached range, detached node
50 PASS intersects is false 50 PASS intersects is false
51 51
52 2.3 Node has no parent 52 2.3 Node has no parent
53 PASS range.intersectsNode(document) threw exception NotFoundError: An attempt wa s made to reference a Node in a context where it does not exist.. 53 PASS range.intersectsNode(document) threw exception NotFoundError: An attempt wa s made to reference a Node in a context where it does not exist..
54 54
55 2.4 Range has no parent 55 2.4 Range has no parent
56 PASS range.selectNode(document) threw exception InvalidNodeTypeError: The suppli ed node is invalid or has an invalid ancestor for this operation.. 56 PASS range.selectNode(document) threw exception InvalidNodeTypeError: Failed to execute 'selectNode' on 'Range': the given Node has no parent..
57 57
58 2.5 Wrong documents 58 2.5 Wrong documents
59 PASS intersects is false 59 PASS intersects is false
60 60
61 2.6 Node deleted 61 2.6 Node deleted
62 PASS range.intersectsNode(node) threw exception NotFoundError: An attempt was ma de to reference a Node in a context where it does not exist.. 62 PASS range.intersectsNode(node) threw exception NotFoundError: An attempt was ma de to reference a Node in a context where it does not exist..
63 63
64 PASS successfullyParsed is true 64 PASS successfullyParsed is true
65 65
66 TEST COMPLETE 66 TEST COMPLETE
67 67
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Range/range-exceptions-expected.txt ('k') | LayoutTests/fast/dom/Range/range-on-detached-node.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698