summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/xpath/text-nodes-expected.txt
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/xpath/text-nodes-expected.txt')
-rw-r--r--LayoutTests/fast/xpath/text-nodes-expected.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/LayoutTests/fast/xpath/text-nodes-expected.txt b/LayoutTests/fast/xpath/text-nodes-expected.txt
new file mode 100644
index 0000000..a3cb54d
--- /dev/null
+++ b/LayoutTests/fast/xpath/text-nodes-expected.txt
@@ -0,0 +1,26 @@
+<doc><elem>a<![CDATA[b]]>c</elem></doc>
+child::*, [object Element]: ""
+child::node(), [object Element]: "a b c"
+descendant::*, [object Element]: ""
+descendant::node(), [object Element]: "a b c"
+descendant::node()[2], [object Element]: "b"
+ancestor-or-self::node(), b: "null null null b"
+ancestor-or-self::*, b: "null null"
+ancestor-or-self::node(), a: "null null null a"
+ancestor-or-self::*, a: "null null"
+following::node(), [object Element]: ""
+following::node(), a: "b c"
+following::text(), a: "b c"
+following::node(), b: "c"
+following-sibling::node(), [object Element]: ""
+following-sibling::node(), a: "b c"
+following-sibling::text(), a: "b c"
+following-sibling::node(), b: "c"
+preceding::node(), b: "a"
+preceding-sibling::node(), b: "a"
+preceding::node(), c: "a b"
+preceding::text(), c: "a b"
+preceding-sibling::node(), c: "a b"
+preceding-sibling::text(), c: "a b"
+self::node(), b: "b"
+