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

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

Issue 252783002: Make Range.detach() a no-op (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 7 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 CONSOLE WARNING: 'Range.detach' is now a no-op, as per DOM (http://dom.spec.what wg.org/#dom-range-detach).
1 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 .
2 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.
3 4
4 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 ".
5 6
6 7
7 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
8 PASS intersects is false 9 PASS intersects is false
9 10
10 1.2 Node starts before the range, and range ends on a 1 11 1.2 Node starts before the range, and range ends on a 1
(...skipping 26 matching lines...) Expand all
37 1.11 Node starts before range start and ends after range end 38 1.11 Node starts before range start and ends after range end
38 PASS intersects is true 39 PASS intersects is true
39 40
40 1.12 Node starts before range start and range begins and ends on 1 41 1.12 Node starts before range start and range begins and ends on 1
41 PASS intersects is true 42 PASS intersects is true
42 43
43 1.13 Range starts at 0 and ends at 1 44 1.13 Range starts at 0 and ends at 1
44 PASS intersects is true 45 PASS intersects is true
45 46
46 2.1 Detached Range, attached node 47 2.1 Detached Range, attached node
47 PASS detachedRange.intersectsNode(document.getElementById('a1')) threw exception InvalidStateError: Failed to execute 'intersectsNode' on 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?. 48 PASS detachedRange.intersectsNode(document.getElementById('a1')) is false
48 49
49 2.2 attached range, detached node 50 2.2 attached range, detached node
50 PASS intersects is false 51 PASS intersects is false
51 52
52 2.3 Node has no parent 53 2.3 Node has no parent
53 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..
54 55
55 2.4 Range has no parent 56 2.4 Range has no parent
56 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..
57 58
58 2.5 Wrong documents 59 2.5 Wrong documents
59 PASS intersects is false 60 PASS intersects is false
60 61
61 2.6 Node deleted 62 2.6 Node deleted
62 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 NotFoundError: Failed to execute 'intersectsNode' on 'Range': The node provided is null..
63 64
64 PASS successfullyParsed is true 65 PASS successfullyParsed is true
65 66
66 TEST COMPLETE 67 TEST COMPLETE
67 68
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698