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

Side by Side Diff: LayoutTests/editing/selection/containsNode-expected.txt

Issue 1308663003: The node and allowPartialContainment arguments for Selection API should not be optional (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « LayoutTests/editing/selection/containsNode.html ('k') | Source/core/editing/DOMSelection.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 foobarbaz 1 foobarbaz
2 Success: s.containsNode(null, false) is false. 2 Success: s.containsNode(null, false); raised TypeError: Failed to execute 'conta insNode' on 'Selection': parameter 1 is not of type 'Node'..
3 Success: s.containsNode(null, true) is false. 3 Success: s.containsNode(null, true); raised TypeError: Failed to execute 'contai nsNode' on 'Selection': parameter 1 is not of type 'Node'..
4 Success: s.containsNode(testDiv, false) is false. 4 Success: s.containsNode(testDiv, false) is false.
5 Success: s.containsNode(testDiv, true) is true. 5 Success: s.containsNode(testDiv, true) is true.
6 Success: s.containsNode(span1, false) is false. 6 Success: s.containsNode(span1, false) is false.
7 Success: s.containsNode(span1, true) is true. 7 Success: s.containsNode(span1, true) is true.
8 Success: s.containsNode(span2.firstChild, false) is true. 8 Success: s.containsNode(span2.firstChild, false) is true.
9 Success: s.containsNode(span2.firstChild, true) is true. 9 Success: s.containsNode(span2.firstChild, true) is true.
10 Success: s.containsNode(span3.firstChild, false) is false. 10 Success: s.containsNode(span3.firstChild, false) is false.
11 Success: s.containsNode(span3.firstChild, true) is false. 11 Success: s.containsNode(span3.firstChild, true) is false.
12 Success: s.containsNode(document, false) is false. 12 Success: s.containsNode(document, false) is false.
13 Success: s.containsNode(document.body, true) is true. 13 Success: s.containsNode(document.body, true) is true.
14 Success: s.containsNode(document.getElementById("console"), false) is false. 14 Success: s.containsNode(document.getElementById("console"), false) is false.
15 Success: s.containsNode(document.getElementById("console"), true) is false. 15 Success: s.containsNode(document.getElementById("console"), true) is false.
16 Success: s.containsNode(document.implementation.createDocumentType("name", "", " "), true) is false. 16 Success: s.containsNode(document.implementation.createDocumentType("name", "", " "), true) is false.
17 Success: s.containsNode(span2.firstChild, false) is true. 17 Success: s.containsNode(span2.firstChild, false) is true.
18 Success: s.containsNode(span2.firstChild, true) is true. 18 Success: s.containsNode(span2.firstChild, true) is true.
19 Success: s.containsNode(span2, false) is false. 19 Success: s.containsNode(span2, false) is false.
20 Success: s.containsNode(span2, true) is true. 20 Success: s.containsNode(span2, true) is true.
21 Success: s.containsNode(span1, false) is false. 21 Success: s.containsNode(span1, false) is false.
22 Success: s.containsNode(span1, true) is true. 22 Success: s.containsNode(span1, true) is true.
23 Success: s.containsNode(span2, false) is true. 23 Success: s.containsNode(span2, false) is true.
24 Success: s.containsNode(span2.firstChild, false) is true. 24 Success: s.containsNode(span2.firstChild, false) is true.
25 Success: s.containsNode(span3, false) is false. 25 Success: s.containsNode(span3, false) is false.
26 Success: s.containsNode(span3, true) is true. 26 Success: s.containsNode(span3, true) is true.
OLDNEW
« no previous file with comments | « LayoutTests/editing/selection/containsNode.html ('k') | Source/core/editing/DOMSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698