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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/selection/collapse-00-expected.txt

Issue 2696083004: Do not commit: Remove testharness.js test results that are all-PASS, ignoring console output (Closed)
Patch Set: Created 3 years, 10 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: third_party/WebKit/LayoutTests/external/wpt/selection/collapse-00-expected.txt
diff --git a/third_party/WebKit/LayoutTests/external/wpt/selection/collapse-00-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/selection/collapse-00-expected.txt
deleted file mode 100644
index 1e35a9904dedf6f857f662113b718472f9efc790..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/external/wpt/selection/collapse-00-expected.txt
+++ /dev/null
@@ -1,4551 +0,0 @@
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-CONSOLE ERROR: line 8: The given range isn't in document.
-This is a testharness.js-based test.
-PASS Set up range 0 []
-PASS Set up range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0]
-PASS Set up range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1]
-PASS Set up range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8]
-PASS Set up range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9]
-PASS Set up range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0]
-PASS Set up range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1]
-PASS Set up range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8]
-PASS Set up range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9]
-PASS Set up range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0]
-PASS Set up range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1]
-PASS Set up range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8]
-PASS Set up range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0]
-PASS Set up range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1]
-PASS Set up range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8]
-PASS Set up range 15 [document.documentElement, 0, document.documentElement, 1]
-PASS Set up range 16 [document.documentElement, 0, document.documentElement, 2]
-PASS Set up range 17 [document.documentElement, 1, document.documentElement, 2]
-PASS Set up range 18 [document.head, 1, document.head, 1]
-PASS Set up range 19 [document.body, 0, document.body, 1]
-PASS Set up range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1]
-PASS Set up range 21 [foreignDoc.head, 1, foreignDoc.head, 1]
-PASS Set up range 22 [foreignDoc.body, 0, foreignDoc.body, 0]
-PASS Set up range 23 [paras[0], 0, paras[0], 0]
-PASS Set up range 24 [paras[0], 0, paras[0], 1]
-PASS Set up range 25 [detachedPara1, 0, detachedPara1, 0]
-PASS Set up range 26 [detachedPara1, 0, detachedPara1, 1]
-PASS Set up range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0]
-PASS Set up range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8]
-PASS Set up range 29 [paras[0].firstChild, 3, paras[3], 1]
-PASS Range 0 [], point 0 [paras[0].firstChild, -1]
-PASS Range 0 [], point 1 [paras[0].firstChild, 0]
-FAIL Range 0 [], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 0 [], point 3 [paras[0].firstChild, 2]
-PASS Range 0 [], point 4 [paras[0].firstChild, 8]
-FAIL Range 0 [], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 0 [], point 6 [paras[0].firstChild, 10]
-PASS Range 0 [], point 7 [paras[0].firstChild, 65535]
-PASS Range 0 [], point 8 [paras[1].firstChild, -1]
-FAIL Range 0 [], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 0 [], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 0 [], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 0 [], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 0 [], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 0 [], point 14 [paras[1].firstChild, 10]
-PASS Range 0 [], point 15 [paras[1].firstChild, 65535]
-FAIL Range 0 [], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 0 [], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 0 [], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 0 [], point 23 [foreignPara1.firstChild, 9]
-PASS Range 0 [], point 24 [document.documentElement, -1]
-FAIL Range 0 [], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 0 [], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 0 [], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 0 [], point 28 [document.documentElement, 7]
-FAIL Range 0 [], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 0 [], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 0 [], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 0 [], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 0 [], point 37 [paras[0], 2]
-FAIL Range 0 [], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 0 [], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 0 [], point 40 [paras[1], 2]
-FAIL Range 0 [], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 0 [], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 0 [], point 45 [document, -1]
-FAIL Range 0 [], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 0 [], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 0 [], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 0 [], point 49 [document, 3]
-PASS Range 0 [], point 50 [comment, -1]
-FAIL Range 0 [], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 0 [], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 0 [], point 53 [comment, 96]
-FAIL Range 0 [], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 0 [], point 59 [xmlDoc, -1]
-FAIL Range 0 [], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 0 [], point 62 [xmlDoc, 5]
-FAIL Range 0 [], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 0 [], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 0 [], point 83 [doctype, 0]
-FAIL Range 0 [], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 0 [], point 85 [doctype, 1]
-PASS Range 0 [], point 86 [foreignDoctype, 0]
-PASS Range 0 [], point 87 [xmlDoctype, 0]
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 0 [paras[0].firstChild, -1]
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 3 [paras[0].firstChild, 2]
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 6 [paras[0].firstChild, 10]
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 7 [paras[0].firstChild, 65535]
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 14 [paras[1].firstChild, 10]
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 15 [paras[1].firstChild, 65535]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 23 [foreignPara1.firstChild, 9]
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 24 [document.documentElement, -1]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 28 [document.documentElement, 7]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 37 [paras[0], 2]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 40 [paras[1], 2]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 45 [document, -1]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 49 [document, 3]
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 50 [comment, -1]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 53 [comment, 96]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 59 [xmlDoc, -1]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 62 [xmlDoc, 5]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 83 [doctype, 0]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 85 [doctype, 1]
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 86 [foreignDoctype, 0]
-PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 87 [xmlDoctype, 0]
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 0 [paras[0].firstChild, -1]
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 3 [paras[0].firstChild, 2]
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 6 [paras[0].firstChild, 10]
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 7 [paras[0].firstChild, 65535]
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 14 [paras[1].firstChild, 10]
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 15 [paras[1].firstChild, 65535]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 23 [foreignPara1.firstChild, 9]
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 24 [document.documentElement, -1]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 28 [document.documentElement, 7]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 37 [paras[0], 2]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 40 [paras[1], 2]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 45 [document, -1]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 49 [document, 3]
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 50 [comment, -1]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 53 [comment, 96]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 59 [xmlDoc, -1]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 62 [xmlDoc, 5]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 83 [doctype, 0]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 85 [doctype, 1]
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 86 [foreignDoctype, 0]
-PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 87 [xmlDoctype, 0]
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 0 [paras[0].firstChild, -1]
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 1 [paras[0].firstChild, 0]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 3 [paras[0].firstChild, 2]
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 4 [paras[0].firstChild, 8]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 6 [paras[0].firstChild, 10]
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 7 [paras[0].firstChild, 65535]
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 8 [paras[1].firstChild, -1]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 14 [paras[1].firstChild, 10]
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 15 [paras[1].firstChild, 65535]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 23 [foreignPara1.firstChild, 9]
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 24 [document.documentElement, -1]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 28 [document.documentElement, 7]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 37 [paras[0], 2]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 40 [paras[1], 2]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 45 [document, -1]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 49 [document, 3]
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 50 [comment, -1]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 53 [comment, 96]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 59 [xmlDoc, -1]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 62 [xmlDoc, 5]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 83 [doctype, 0]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 85 [doctype, 1]
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 86 [foreignDoctype, 0]
-PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 87 [xmlDoctype, 0]
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 0 [paras[0].firstChild, -1]
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 1 [paras[0].firstChild, 0]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 3 [paras[0].firstChild, 2]
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 4 [paras[0].firstChild, 8]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 6 [paras[0].firstChild, 10]
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 7 [paras[0].firstChild, 65535]
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 8 [paras[1].firstChild, -1]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 14 [paras[1].firstChild, 10]
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 15 [paras[1].firstChild, 65535]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 23 [foreignPara1.firstChild, 9]
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 24 [document.documentElement, -1]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 28 [document.documentElement, 7]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 37 [paras[0], 2]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 40 [paras[1], 2]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 45 [document, -1]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 49 [document, 3]
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 50 [comment, -1]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 53 [comment, 96]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 59 [xmlDoc, -1]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 62 [xmlDoc, 5]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 83 [doctype, 0]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 85 [doctype, 1]
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 86 [foreignDoctype, 0]
-PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 87 [xmlDoctype, 0]
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 0 [paras[0].firstChild, -1]
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 3 [paras[0].firstChild, 2]
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 6 [paras[0].firstChild, 10]
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 7 [paras[0].firstChild, 65535]
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 8 [paras[1].firstChild, -1]
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 9 [paras[1].firstChild, 0]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 14 [paras[1].firstChild, 10]
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 15 [paras[1].firstChild, 65535]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
-"
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
-"
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 23 [foreignPara1.firstChild, 9]
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 24 [document.documentElement, -1]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 28 [document.documentElement, 7]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 37 [paras[0], 2]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 40 [paras[1], 2]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 45 [document, -1]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 49 [document, 3]
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 50 [comment, -1]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 53 [comment, 96]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
-"
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 59 [xmlDoc, -1]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
-"
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 62 [xmlDoc, 5]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
-"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
-"
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 83 [doctype, 0]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 85 [doctype, 1]
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 86 [foreignDoctype, 0]
-PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 87 [xmlDoctype, 0]
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 0 [paras[0].firstChild, -1]
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 3 [paras[0].firstChild, 2]
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 6 [paras[0].firstChild, 10]
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 7 [paras[0].firstChild, 65535]
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 14 [paras[1].firstChild, 10]
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 15 [paras[1].firstChild, 65535]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
-"
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
-"
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 23 [foreignPara1.firstChild, 9]
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 24 [document.documentElement, -1]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 28 [document.documentElement, 7]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 37 [paras[0], 2]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 40 [paras[1], 2]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 45 [document, -1]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 49 [document, 3]
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 50 [comment, -1]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 53 [comment, 96]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
-"
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 59 [xmlDoc, -1]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
-"
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 62 [xmlDoc, 5]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
-"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
-"
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 83 [doctype, 0]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 85 [doctype, 1]
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 86 [foreignDoctype, 0]
-PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 87 [xmlDoctype, 0]
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 0 [paras[0].firstChild, -1]
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 1 [paras[0].firstChild, 0]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 3 [paras[0].firstChild, 2]
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 4 [paras[0].firstChild, 8]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 6 [paras[0].firstChild, 10]
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 7 [paras[0].firstChild, 65535]
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 8 [paras[1].firstChild, -1]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 14 [paras[1].firstChild, 10]
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 15 [paras[1].firstChild, 65535]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
-"
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
-"
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 23 [foreignPara1.firstChild, 9]
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 24 [document.documentElement, -1]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 28 [document.documentElement, 7]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 37 [paras[0], 2]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 40 [paras[1], 2]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 45 [document, -1]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 49 [document, 3]
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 50 [comment, -1]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 53 [comment, 96]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
-"
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 59 [xmlDoc, -1]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
-"
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 62 [xmlDoc, 5]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
-"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
-"
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 83 [doctype, 0]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 85 [doctype, 1]
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 86 [foreignDoctype, 0]
-PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 87 [xmlDoctype, 0]
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 0 [paras[0].firstChild, -1]
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 1 [paras[0].firstChild, 0]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 3 [paras[0].firstChild, 2]
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 4 [paras[0].firstChild, 8]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 6 [paras[0].firstChild, 10]
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 7 [paras[0].firstChild, 65535]
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 8 [paras[1].firstChild, -1]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 14 [paras[1].firstChild, 10]
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 15 [paras[1].firstChild, 65535]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
-"
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
-"
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 23 [foreignPara1.firstChild, 9]
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 24 [document.documentElement, -1]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 28 [document.documentElement, 7]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 37 [paras[0], 2]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 40 [paras[1], 2]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 45 [document, -1]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 49 [document, 3]
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 50 [comment, -1]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 53 [comment, 96]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
-"
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 59 [xmlDoc, -1]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
-"
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 62 [xmlDoc, 5]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
-"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
-"
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 83 [doctype, 0]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 85 [doctype, 1]
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 86 [foreignDoctype, 0]
-PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 87 [xmlDoctype, 0]
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 0 [paras[0].firstChild, -1]
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3 [paras[0].firstChild, 2]
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6 [paras[0].firstChild, 10]
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7 [paras[0].firstChild, 65535]
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 14 [paras[1].firstChild, 10]
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 15 [paras[1].firstChild, 65535]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 23 [foreignPara1.firstChild, 9]
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 24 [document.documentElement, -1]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 28 [document.documentElement, 7]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 37 [paras[0], 2]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 40 [paras[1], 2]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 45 [document, -1]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 49 [document, 3]
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 50 [comment, -1]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 53 [comment, 96]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 59 [xmlDoc, -1]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 62 [xmlDoc, 5]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 83 [doctype, 0]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 85 [doctype, 1]
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 86 [foreignDoctype, 0]
-PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 87 [xmlDoctype, 0]
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 0 [paras[0].firstChild, -1]
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 3 [paras[0].firstChild, 2]
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 6 [paras[0].firstChild, 10]
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 7 [paras[0].firstChild, 65535]
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 14 [paras[1].firstChild, 10]
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 15 [paras[1].firstChild, 65535]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 23 [foreignPara1.firstChild, 9]
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 24 [document.documentElement, -1]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 28 [document.documentElement, 7]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 37 [paras[0], 2]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 40 [paras[1], 2]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 45 [document, -1]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 49 [document, 3]
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 50 [comment, -1]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 53 [comment, 96]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 59 [xmlDoc, -1]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 62 [xmlDoc, 5]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 83 [doctype, 0]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 85 [doctype, 1]
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 86 [foreignDoctype, 0]
-PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 87 [xmlDoctype, 0]
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 0 [paras[0].firstChild, -1]
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 1 [paras[0].firstChild, 0]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 3 [paras[0].firstChild, 2]
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 4 [paras[0].firstChild, 8]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 6 [paras[0].firstChild, 10]
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 7 [paras[0].firstChild, 65535]
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 8 [paras[1].firstChild, -1]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 14 [paras[1].firstChild, 10]
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 15 [paras[1].firstChild, 65535]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 23 [foreignPara1.firstChild, 9]
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 24 [document.documentElement, -1]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 28 [document.documentElement, 7]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 37 [paras[0], 2]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 40 [paras[1], 2]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 45 [document, -1]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 49 [document, 3]
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 50 [comment, -1]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 53 [comment, 96]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 59 [xmlDoc, -1]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 62 [xmlDoc, 5]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 83 [doctype, 0]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 85 [doctype, 1]
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 86 [foreignDoctype, 0]
-PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 87 [xmlDoctype, 0]
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 0 [paras[0].firstChild, -1]
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 3 [paras[0].firstChild, 2]
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 6 [paras[0].firstChild, 10]
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 7 [paras[0].firstChild, 65535]
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 14 [paras[1].firstChild, 10]
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 15 [paras[1].firstChild, 65535]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 23 [foreignPara1.firstChild, 9]
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 24 [document.documentElement, -1]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 28 [document.documentElement, 7]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 37 [paras[0], 2]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 40 [paras[1], 2]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 45 [document, -1]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 49 [document, 3]
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 50 [comment, -1]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 53 [comment, 96]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 59 [xmlDoc, -1]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 62 [xmlDoc, 5]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 83 [doctype, 0]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 85 [doctype, 1]
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 86 [foreignDoctype, 0]
-PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 87 [xmlDoctype, 0]
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 0 [paras[0].firstChild, -1]
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 3 [paras[0].firstChild, 2]
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 6 [paras[0].firstChild, 10]
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 7 [paras[0].firstChild, 65535]
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 14 [paras[1].firstChild, 10]
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 15 [paras[1].firstChild, 65535]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 23 [foreignPara1.firstChild, 9]
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 24 [document.documentElement, -1]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 28 [document.documentElement, 7]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 37 [paras[0], 2]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 40 [paras[1], 2]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 45 [document, -1]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 49 [document, 3]
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 50 [comment, -1]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 53 [comment, 96]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 59 [xmlDoc, -1]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 62 [xmlDoc, 5]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 83 [doctype, 0]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 85 [doctype, 1]
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 86 [foreignDoctype, 0]
-PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 87 [xmlDoctype, 0]
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 0 [paras[0].firstChild, -1]
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 1 [paras[0].firstChild, 0]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 3 [paras[0].firstChild, 2]
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 4 [paras[0].firstChild, 8]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 6 [paras[0].firstChild, 10]
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 7 [paras[0].firstChild, 65535]
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 8 [paras[1].firstChild, -1]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 14 [paras[1].firstChild, 10]
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 15 [paras[1].firstChild, 65535]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 23 [foreignPara1.firstChild, 9]
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 24 [document.documentElement, -1]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 28 [document.documentElement, 7]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 37 [paras[0], 2]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 40 [paras[1], 2]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 45 [document, -1]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 49 [document, 3]
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 50 [comment, -1]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 53 [comment, 96]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 59 [xmlDoc, -1]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 62 [xmlDoc, 5]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 83 [doctype, 0]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 85 [doctype, 1]
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 86 [foreignDoctype, 0]
-PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 87 [xmlDoctype, 0]
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 0 [paras[0].firstChild, -1]
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 3 [paras[0].firstChild, 2]
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 6 [paras[0].firstChild, 10]
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 7 [paras[0].firstChild, 65535]
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 14 [paras[1].firstChild, 10]
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 15 [paras[1].firstChild, 65535]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 23 [foreignPara1.firstChild, 9]
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 24 [document.documentElement, -1]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 28 [document.documentElement, 7]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 37 [paras[0], 2]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 40 [paras[1], 2]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 45 [document, -1]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 49 [document, 3]
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 50 [comment, -1]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 53 [comment, 96]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 59 [xmlDoc, -1]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 62 [xmlDoc, 5]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 83 [doctype, 0]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 85 [doctype, 1]
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 86 [foreignDoctype, 0]
-PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 87 [xmlDoctype, 0]
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 0 [paras[0].firstChild, -1]
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 1 [paras[0].firstChild, 0]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 3 [paras[0].firstChild, 2]
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 4 [paras[0].firstChild, 8]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 6 [paras[0].firstChild, 10]
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 7 [paras[0].firstChild, 65535]
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 8 [paras[1].firstChild, -1]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 14 [paras[1].firstChild, 10]
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 15 [paras[1].firstChild, 65535]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 23 [foreignPara1.firstChild, 9]
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 24 [document.documentElement, -1]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 28 [document.documentElement, 7]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 37 [paras[0], 2]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 40 [paras[1], 2]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 45 [document, -1]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 49 [document, 3]
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 50 [comment, -1]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 53 [comment, 96]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 59 [xmlDoc, -1]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 62 [xmlDoc, 5]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 83 [doctype, 0]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 85 [doctype, 1]
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 86 [foreignDoctype, 0]
-PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 87 [xmlDoctype, 0]
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 0 [paras[0].firstChild, -1]
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 1 [paras[0].firstChild, 0]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 3 [paras[0].firstChild, 2]
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 4 [paras[0].firstChild, 8]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 6 [paras[0].firstChild, 10]
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 7 [paras[0].firstChild, 65535]
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 8 [paras[1].firstChild, -1]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 14 [paras[1].firstChild, 10]
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 15 [paras[1].firstChild, 65535]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 23 [foreignPara1.firstChild, 9]
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 24 [document.documentElement, -1]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 28 [document.documentElement, 7]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 37 [paras[0], 2]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 40 [paras[1], 2]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 45 [document, -1]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 49 [document, 3]
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 50 [comment, -1]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 53 [comment, 96]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 59 [xmlDoc, -1]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 62 [xmlDoc, 5]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <html><head><title>Selection.collapse() tests</title>
-<me...
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 83 [doctype, 0]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 85 [doctype, 1]
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 86 [foreignDoctype, 0]
-PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 87 [xmlDoctype, 0]
-PASS Range 18 [document.head, 1, document.head, 1], point 0 [paras[0].firstChild, -1]
-PASS Range 18 [document.head, 1, document.head, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 18 [document.head, 1, document.head, 1], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 18 [document.head, 1, document.head, 1], point 3 [paras[0].firstChild, 2]
-PASS Range 18 [document.head, 1, document.head, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 18 [document.head, 1, document.head, 1], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 18 [document.head, 1, document.head, 1], point 6 [paras[0].firstChild, 10]
-PASS Range 18 [document.head, 1, document.head, 1], point 7 [paras[0].firstChild, 65535]
-PASS Range 18 [document.head, 1, document.head, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 18 [document.head, 1, document.head, 1], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 18 [document.head, 1, document.head, 1], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 18 [document.head, 1, document.head, 1], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 18 [document.head, 1, document.head, 1], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 18 [document.head, 1, document.head, 1], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 18 [document.head, 1, document.head, 1], point 14 [paras[1].firstChild, 10]
-PASS Range 18 [document.head, 1, document.head, 1], point 15 [paras[1].firstChild, 65535]
-FAIL Range 18 [document.head, 1, document.head, 1], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-PASS Range 18 [document.head, 1, document.head, 1], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 18 [document.head, 1, document.head, 1], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-PASS Range 18 [document.head, 1, document.head, 1], point 23 [foreignPara1.firstChild, 9]
-PASS Range 18 [document.head, 1, document.head, 1], point 24 [document.documentElement, -1]
-FAIL Range 18 [document.head, 1, document.head, 1], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 18 [document.head, 1, document.head, 1], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 18 [document.head, 1, document.head, 1], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 18 [document.head, 1, document.head, 1], point 28 [document.documentElement, 7]
-PASS Range 18 [document.head, 1, document.head, 1], point 29 [document.head, 1]
-FAIL Range 18 [document.head, 1, document.head, 1], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 18 [document.head, 1, document.head, 1], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 18 [document.head, 1, document.head, 1], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 18 [document.head, 1, document.head, 1], point 37 [paras[0], 2]
-FAIL Range 18 [document.head, 1, document.head, 1], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 18 [document.head, 1, document.head, 1], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 18 [document.head, 1, document.head, 1], point 40 [paras[1], 2]
-FAIL Range 18 [document.head, 1, document.head, 1], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 18 [document.head, 1, document.head, 1], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 18 [document.head, 1, document.head, 1], point 45 [document, -1]
-FAIL Range 18 [document.head, 1, document.head, 1], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 18 [document.head, 1, document.head, 1], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 18 [document.head, 1, document.head, 1], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 18 [document.head, 1, document.head, 1], point 49 [document, 3]
-PASS Range 18 [document.head, 1, document.head, 1], point 50 [comment, -1]
-FAIL Range 18 [document.head, 1, document.head, 1], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 18 [document.head, 1, document.head, 1], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 18 [document.head, 1, document.head, 1], point 53 [comment, 96]
-FAIL Range 18 [document.head, 1, document.head, 1], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-PASS Range 18 [document.head, 1, document.head, 1], point 59 [xmlDoc, -1]
-FAIL Range 18 [document.head, 1, document.head, 1], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-PASS Range 18 [document.head, 1, document.head, 1], point 62 [xmlDoc, 5]
-FAIL Range 18 [document.head, 1, document.head, 1], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 1], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <head><title>Selection.collapse() tests</title>
-<meta nam...
-PASS Range 18 [document.head, 1, document.head, 1], point 83 [doctype, 0]
-FAIL Range 18 [document.head, 1, document.head, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 18 [document.head, 1, document.head, 1], point 85 [doctype, 1]
-PASS Range 18 [document.head, 1, document.head, 1], point 86 [foreignDoctype, 0]
-PASS Range 18 [document.head, 1, document.head, 1], point 87 [xmlDoctype, 0]
-PASS Range 19 [document.body, 0, document.body, 1], point 0 [paras[0].firstChild, -1]
-PASS Range 19 [document.body, 0, document.body, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 19 [document.body, 0, document.body, 1], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 19 [document.body, 0, document.body, 1], point 3 [paras[0].firstChild, 2]
-PASS Range 19 [document.body, 0, document.body, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 19 [document.body, 0, document.body, 1], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 19 [document.body, 0, document.body, 1], point 6 [paras[0].firstChild, 10]
-PASS Range 19 [document.body, 0, document.body, 1], point 7 [paras[0].firstChild, 65535]
-PASS Range 19 [document.body, 0, document.body, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 19 [document.body, 0, document.body, 1], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 19 [document.body, 0, document.body, 1], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 19 [document.body, 0, document.body, 1], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 19 [document.body, 0, document.body, 1], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 19 [document.body, 0, document.body, 1], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 19 [document.body, 0, document.body, 1], point 14 [paras[1].firstChild, 10]
-PASS Range 19 [document.body, 0, document.body, 1], point 15 [paras[1].firstChild, 65535]
-FAIL Range 19 [document.body, 0, document.body, 1], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-PASS Range 19 [document.body, 0, document.body, 1], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 19 [document.body, 0, document.body, 1], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-PASS Range 19 [document.body, 0, document.body, 1], point 23 [foreignPara1.firstChild, 9]
-PASS Range 19 [document.body, 0, document.body, 1], point 24 [document.documentElement, -1]
-FAIL Range 19 [document.body, 0, document.body, 1], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 19 [document.body, 0, document.body, 1], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 19 [document.body, 0, document.body, 1], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 19 [document.body, 0, document.body, 1], point 28 [document.documentElement, 7]
-FAIL Range 19 [document.body, 0, document.body, 1], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 19 [document.body, 0, document.body, 1], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 19 [document.body, 0, document.body, 1], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 19 [document.body, 0, document.body, 1], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 19 [document.body, 0, document.body, 1], point 37 [paras[0], 2]
-FAIL Range 19 [document.body, 0, document.body, 1], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 19 [document.body, 0, document.body, 1], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 19 [document.body, 0, document.body, 1], point 40 [paras[1], 2]
-FAIL Range 19 [document.body, 0, document.body, 1], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 19 [document.body, 0, document.body, 1], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 19 [document.body, 0, document.body, 1], point 45 [document, -1]
-FAIL Range 19 [document.body, 0, document.body, 1], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 19 [document.body, 0, document.body, 1], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 19 [document.body, 0, document.body, 1], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 19 [document.body, 0, document.body, 1], point 49 [document, 3]
-PASS Range 19 [document.body, 0, document.body, 1], point 50 [comment, -1]
-FAIL Range 19 [document.body, 0, document.body, 1], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 19 [document.body, 0, document.body, 1], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 19 [document.body, 0, document.body, 1], point 53 [comment, 96]
-FAIL Range 19 [document.body, 0, document.body, 1], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-PASS Range 19 [document.body, 0, document.body, 1], point 59 [xmlDoc, -1]
-FAIL Range 19 [document.body, 0, document.body, 1], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-PASS Range 19 [document.body, 0, document.body, 1], point 62 [xmlDoc, 5]
-FAIL Range 19 [document.body, 0, document.body, 1], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 1], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-PASS Range 19 [document.body, 0, document.body, 1], point 83 [doctype, 0]
-FAIL Range 19 [document.body, 0, document.body, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 19 [document.body, 0, document.body, 1], point 85 [doctype, 1]
-PASS Range 19 [document.body, 0, document.body, 1], point 86 [foreignDoctype, 0]
-PASS Range 19 [document.body, 0, document.body, 1], point 87 [xmlDoctype, 0]
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 0 [paras[0].firstChild, -1]
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 3 [paras[0].firstChild, 2]
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 6 [paras[0].firstChild, 10]
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 7 [paras[0].firstChild, 65535]
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 14 [paras[1].firstChild, 10]
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 15 [paras[1].firstChild, 65535]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 23 [foreignPara1.firstChild, 9]
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 24 [document.documentElement, -1]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 28 [document.documentElement, 7]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 37 [paras[0], 2]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 40 [paras[1], 2]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 45 [document, -1]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 49 [document, 3]
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 50 [comment, -1]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 53 [comment, 96]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 59 [xmlDoc, -1]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 62 [xmlDoc, 5]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 83 [doctype, 0]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 85 [doctype, 1]
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 86 [foreignDoctype, 0]
-PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 87 [xmlDoctype, 0]
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 0 [paras[0].firstChild, -1]
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 3 [paras[0].firstChild, 2]
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 6 [paras[0].firstChild, 10]
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 7 [paras[0].firstChild, 65535]
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 14 [paras[1].firstChild, 10]
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 15 [paras[1].firstChild, 65535]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 23 [foreignPara1.firstChild, 9]
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 24 [document.documentElement, -1]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 28 [document.documentElement, 7]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 37 [paras[0], 2]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 40 [paras[1], 2]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 45 [document, -1]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 49 [document, 3]
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 50 [comment, -1]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 53 [comment, 96]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 59 [xmlDoc, -1]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 62 [xmlDoc, 5]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 83 [doctype, 0]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 85 [doctype, 1]
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 86 [foreignDoctype, 0]
-PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 87 [xmlDoctype, 0]
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 0 [paras[0].firstChild, -1]
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 3 [paras[0].firstChild, 2]
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 6 [paras[0].firstChild, 10]
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 7 [paras[0].firstChild, 65535]
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 14 [paras[1].firstChild, 10]
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 15 [paras[1].firstChild, 65535]
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 23 [foreignPara1.firstChild, 9]
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 24 [document.documentElement, -1]
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 28 [document.documentElement, 7]
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 37 [paras[0], 2]
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 40 [paras[1], 2]
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 45 [document, -1]
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 49 [document, 3]
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 50 [comment, -1]
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 53 [comment, 96]
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 59 [xmlDoc, -1]
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 62 [xmlDoc, 5]
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 83 [doctype, 0]
-FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 85 [doctype, 1]
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 86 [foreignDoctype, 0]
-PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 87 [xmlDoctype, 0]
-PASS Range 23 [paras[0], 0, paras[0], 0], point 0 [paras[0].firstChild, -1]
-PASS Range 23 [paras[0], 0, paras[0], 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 23 [paras[0], 0, paras[0], 0], point 3 [paras[0].firstChild, 2]
-PASS Range 23 [paras[0], 0, paras[0], 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 23 [paras[0], 0, paras[0], 0], point 6 [paras[0].firstChild, 10]
-PASS Range 23 [paras[0], 0, paras[0], 0], point 7 [paras[0].firstChild, 65535]
-PASS Range 23 [paras[0], 0, paras[0], 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 23 [paras[0], 0, paras[0], 0], point 14 [paras[1].firstChild, 10]
-PASS Range 23 [paras[0], 0, paras[0], 0], point 15 [paras[1].firstChild, 65535]
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-PASS Range 23 [paras[0], 0, paras[0], 0], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-PASS Range 23 [paras[0], 0, paras[0], 0], point 23 [foreignPara1.firstChild, 9]
-PASS Range 23 [paras[0], 0, paras[0], 0], point 24 [document.documentElement, -1]
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 23 [paras[0], 0, paras[0], 0], point 28 [document.documentElement, 7]
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-PASS Range 23 [paras[0], 0, paras[0], 0], point 35 [paras[0], 0]
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 23 [paras[0], 0, paras[0], 0], point 37 [paras[0], 2]
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 23 [paras[0], 0, paras[0], 0], point 40 [paras[1], 2]
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 23 [paras[0], 0, paras[0], 0], point 45 [document, -1]
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 23 [paras[0], 0, paras[0], 0], point 49 [document, 3]
-PASS Range 23 [paras[0], 0, paras[0], 0], point 50 [comment, -1]
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 23 [paras[0], 0, paras[0], 0], point 53 [comment, 96]
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-PASS Range 23 [paras[0], 0, paras[0], 0], point 59 [xmlDoc, -1]
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-PASS Range 23 [paras[0], 0, paras[0], 0], point 62 [xmlDoc, 5]
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-PASS Range 23 [paras[0], 0, paras[0], 0], point 83 [doctype, 0]
-FAIL Range 23 [paras[0], 0, paras[0], 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 23 [paras[0], 0, paras[0], 0], point 85 [doctype, 1]
-PASS Range 23 [paras[0], 0, paras[0], 0], point 86 [foreignDoctype, 0]
-PASS Range 23 [paras[0], 0, paras[0], 0], point 87 [xmlDoctype, 0]
-PASS Range 24 [paras[0], 0, paras[0], 1], point 0 [paras[0].firstChild, -1]
-PASS Range 24 [paras[0], 0, paras[0], 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 24 [paras[0], 0, paras[0], 1], point 3 [paras[0].firstChild, 2]
-PASS Range 24 [paras[0], 0, paras[0], 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 24 [paras[0], 0, paras[0], 1], point 6 [paras[0].firstChild, 10]
-PASS Range 24 [paras[0], 0, paras[0], 1], point 7 [paras[0].firstChild, 65535]
-PASS Range 24 [paras[0], 0, paras[0], 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 24 [paras[0], 0, paras[0], 1], point 14 [paras[1].firstChild, 10]
-PASS Range 24 [paras[0], 0, paras[0], 1], point 15 [paras[1].firstChild, 65535]
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-PASS Range 24 [paras[0], 0, paras[0], 1], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-PASS Range 24 [paras[0], 0, paras[0], 1], point 23 [foreignPara1.firstChild, 9]
-PASS Range 24 [paras[0], 0, paras[0], 1], point 24 [document.documentElement, -1]
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 24 [paras[0], 0, paras[0], 1], point 28 [document.documentElement, 7]
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 24 [paras[0], 0, paras[0], 1], point 37 [paras[0], 2]
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 24 [paras[0], 0, paras[0], 1], point 40 [paras[1], 2]
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 24 [paras[0], 0, paras[0], 1], point 45 [document, -1]
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 24 [paras[0], 0, paras[0], 1], point 49 [document, 3]
-PASS Range 24 [paras[0], 0, paras[0], 1], point 50 [comment, -1]
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 24 [paras[0], 0, paras[0], 1], point 53 [comment, 96]
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-PASS Range 24 [paras[0], 0, paras[0], 1], point 59 [xmlDoc, -1]
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-PASS Range 24 [paras[0], 0, paras[0], 1], point 62 [xmlDoc, 5]
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p>
-PASS Range 24 [paras[0], 0, paras[0], 1], point 83 [doctype, 0]
-FAIL Range 24 [paras[0], 0, paras[0], 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 24 [paras[0], 0, paras[0], 1], point 85 [doctype, 1]
-PASS Range 24 [paras[0], 0, paras[0], 1], point 86 [foreignDoctype, 0]
-PASS Range 24 [paras[0], 0, paras[0], 1], point 87 [xmlDoctype, 0]
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 0 [paras[0].firstChild, -1]
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 3 [paras[0].firstChild, 2]
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 6 [paras[0].firstChild, 10]
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 7 [paras[0].firstChild, 65535]
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 14 [paras[1].firstChild, 10]
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 15 [paras[1].firstChild, 65535]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 23 [foreignPara1.firstChild, 9]
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 24 [document.documentElement, -1]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 28 [document.documentElement, 7]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 37 [paras[0], 2]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 40 [paras[1], 2]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 45 [document, -1]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 49 [document, 3]
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 50 [comment, -1]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 53 [comment, 96]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 59 [xmlDoc, -1]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 62 [xmlDoc, 5]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 83 [doctype, 0]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 85 [doctype, 1]
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 86 [foreignDoctype, 0]
-PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 87 [xmlDoctype, 0]
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 0 [paras[0].firstChild, -1]
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 3 [paras[0].firstChild, 2]
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 6 [paras[0].firstChild, 10]
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 7 [paras[0].firstChild, 65535]
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 14 [paras[1].firstChild, 10]
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 15 [paras[1].firstChild, 65535]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 23 [foreignPara1.firstChild, 9]
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 24 [document.documentElement, -1]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 28 [document.documentElement, 7]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 37 [paras[0], 2]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 40 [paras[1], 2]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 45 [document, -1]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 49 [document, 3]
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 50 [comment, -1]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 53 [comment, 96]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 59 [xmlDoc, -1]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 62 [xmlDoc, 5]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 83 [doctype, 0]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 85 [doctype, 1]
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 86 [foreignDoctype, 0]
-PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 87 [xmlDoctype, 0]
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 0 [paras[0].firstChild, -1]
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 3 [paras[0].firstChild, 2]
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 6 [paras[0].firstChild, 10]
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 7 [paras[0].firstChild, 65535]
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 14 [paras[1].firstChild, 10]
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 15 [paras[1].firstChild, 65535]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
-"
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
-"
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 23 [foreignPara1.firstChild, 9]
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 24 [document.documentElement, -1]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 28 [document.documentElement, 7]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 37 [paras[0], 2]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 40 [paras[1], 2]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 45 [document, -1]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 49 [document, 3]
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 50 [comment, -1]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 53 [comment, 96]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
-"
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 59 [xmlDoc, -1]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
-"
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 62 [xmlDoc, 5]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
-"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
-"
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 83 [doctype, 0]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 85 [doctype, 1]
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 86 [foreignDoctype, 0]
-PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 87 [xmlDoctype, 0]
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 0 [paras[0].firstChild, -1]
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 1 [paras[0].firstChild, 0]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 3 [paras[0].firstChild, 2]
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 4 [paras[0].firstChild, 8]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 6 [paras[0].firstChild, 10]
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 7 [paras[0].firstChild, 65535]
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 8 [paras[1].firstChild, -1]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 14 [paras[1].firstChild, 10]
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 15 [paras[1].firstChild, 65535]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
-"
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
-"
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 23 [foreignPara1.firstChild, 9]
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 24 [document.documentElement, -1]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 28 [document.documentElement, 7]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 37 [paras[0], 2]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 40 [paras[1], 2]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 45 [document, -1]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 49 [document, 3]
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 50 [comment, -1]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 53 [comment, 96]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
-"
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 59 [xmlDoc, -1]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
-"
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 62 [xmlDoc, 5]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
-"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
-"
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 83 [doctype, 0]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 85 [doctype, 1]
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 86 [foreignDoctype, 0]
-PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 87 [xmlDoctype, 0]
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 0 [paras[0].firstChild, -1]
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 3 [paras[0].firstChild, 2]
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 6 [paras[0].firstChild, 10]
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 7 [paras[0].firstChild, 65535]
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 14 [paras[1].firstChild, 10]
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 15 [paras[1].firstChild, 65535]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <p id="d" style="display:none">Yzabcdef</p>
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <p id="d" style="display:none">Yzabcdef</p>
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 23 [foreignPara1.firstChild, 9]
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 24 [document.documentElement, -1]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 28 [document.documentElement, 7]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 37 [paras[0], 2]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 40 [paras[1], 2]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 45 [document, -1]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 49 [document, 3]
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 50 [comment, -1]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 53 [comment, 96]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <p id="d" style="display:none">Yzabcdef</p>
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 59 [xmlDoc, -1]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <p id="d" style="display:none">Yzabcdef</p>
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 62 [xmlDoc, 5]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="d" style="display:none">Yzabcdef</p>
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 83 [doctype, 0]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
- selection.collapse(point[0], point[1]);
- }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Selection': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 85 [doctype, 1]
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 86 [foreignDoctype, 0]
-PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 87 [xmlDoctype, 0]
-Harness: the test ran to completion.
-

Powered by Google App Engine
This is Rietveld 408576698