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

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

Issue 1364683003: Range.intersectsNode() does not behave according to the specification. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed comments Created 5 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/Range/resources/intersectsNode.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 1.13 Range starts at 0 and ends at 1 44 1.13 Range starts at 0 and ends at 1
45 PASS intersects is true 45 PASS intersects is true
46 46
47 2.1 Detached Range, attached node 47 2.1 Detached Range, attached node
48 PASS detachedRange.intersectsNode(document.getElementById('a1')) is false 48 PASS detachedRange.intersectsNode(document.getElementById('a1')) is false
49 49
50 2.2 attached range, detached node 50 2.2 attached range, detached node
51 PASS intersects is false 51 PASS intersects is false
52 52
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 intersects is true
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 TypeError: Failed to execute 'in tersectsNode' on 'Range': parameter 1 is not of type 'Node'.. 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
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/Range/resources/intersectsNode.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698