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

Unified Diff: LayoutTests/fast/dom/Range/range-on-detached-node-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, 4 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/Range/range-on-detached-node-expected.txt
diff --git a/LayoutTests/fast/dom/Range/range-on-detached-node-expected.txt b/LayoutTests/fast/dom/Range/range-on-detached-node-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e06dfc8871fe1a481fb676bf6efeede61a2d64aa
--- /dev/null
+++ b/LayoutTests/fast/dom/Range/range-on-detached-node-expected.txt
@@ -0,0 +1,14 @@
+PASS range.selectNode(sample.firstChild); range.startContainer is sample
+PASS range.setEndBefore(sample.firstChild); range.startContainer is sample
+PASS range.setEndAfter(sample.firstChild); range.startContainer is sample
+PASS range.setStartAfter(sample.firstChild); range.startContainer is sample
+PASS range.setStartBefore(sample.firstChild); range.startContainer is sample
+PASS range.selectNode(sample); range.startContainer threw exception InvalidNodeTypeError: Failed to execute 'selectNode' on 'Range': the given Node has no parent..
+PASS range.setEndAfter(sample); range.startContainer threw exception InvalidNodeTypeError: Failed to execute 'setEndAfter' on 'Range': the given Node has no parent..
+PASS range.setEndBefore(sample); range.startContainer threw exception InvalidNodeTypeError: Failed to execute 'setEndBefore' on 'Range': the given Node has no parent..
+PASS range.setStartAfter(sample); range.startContainer threw exception InvalidNodeTypeError: Failed to execute 'setStartAfter' on 'Range': the given Node has no parent..
+PASS range.setStartBefore(sample); range.startContainer threw exception InvalidNodeTypeError: Failed to execute 'setStartBefore' on 'Range': the given Node has no parent..
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/Range/range-on-detached-node.html ('k') | LayoutTests/fast/dom/Range/resources/intersectsNode.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698