summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/xpath/union-context-node-expected.txt
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/xpath/union-context-node-expected.txt')
-rw-r--r--LayoutTests/fast/xpath/union-context-node-expected.txt62
1 files changed, 62 insertions, 0 deletions
diff --git a/LayoutTests/fast/xpath/union-context-node-expected.txt b/LayoutTests/fast/xpath/union-context-node-expected.txt
new file mode 100644
index 0000000..dad2dac
--- /dev/null
+++ b/LayoutTests/fast/xpath/union-context-node-expected.txt
@@ -0,0 +1,62 @@
+ Querying in the following...
+
+<div xmlns="http://www.w3.org/1999/xhtml" id="test">
+ <span id="A">
+ <span id="B"></span>
+ </span>
+ <span id="C">
+ <span id="D"></span>
+ </span>
+</div>
+
+Query "ancestor::xhtml:span" from span#B
+Result: span#A
+Expected: span#A
+SUCCESS
+
+Query ".|ancestor::xhtml:span" from span#B
+Result: span#A span#B
+Expected: span#A span#B
+SUCCESS
+
+Query "ancestor::xhtml:span|." from span#B
+Result: span#A span#B
+Expected: span#A span#B
+SUCCESS
+
+Query "ancestor::xhtml:*[local-name()='span']" from span#B
+Result: span#A
+Expected: span#A
+SUCCESS
+
+Query ".|ancestor::xhtml:*[local-name()='span']" from span#B
+Result: span#A span#B
+Expected: span#A span#B
+SUCCESS
+
+Query "ancestor::xhtml:*[local-name()='span']|." from span#B
+Result: span#A span#B
+Expected: span#A span#B
+SUCCESS
+
+Query "(ancestor::xhtml:*[local-name()='span'])|." from span#B
+Result: span#A span#B
+Expected: span#A span#B
+SUCCESS
+
+Query "following::xhtml:*[local-name()='span']" from span#B
+Result: span#C span#D
+Expected: span#C span#D
+SUCCESS
+
+Query ".|following::xhtml:*[local-name()='span']" from span#B
+Result: span#B span#C span#D
+Expected: span#B span#C span#D
+SUCCESS
+
+Query "following::xhtml:*[local-name()='span']|." from span#B
+Result: span#B span#C span#D
+Expected: span#B span#C span#D
+SUCCESS
+
+