Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / xpath / union-context-node-expected.txt
blobdad2dac2b7528e64a292ac6bb64a1a02a87822e1
1  Querying in the following...
3 <div xmlns="http://www.w3.org/1999/xhtml" id="test">
4     <span id="A">
5         <span id="B"></span>
6     </span>
7     <span id="C">
8         <span id="D"></span>
9     </span>
10 </div>
12 Query "ancestor::xhtml:span" from span#B
13 Result: span#A
14 Expected: span#A
15 SUCCESS
17 Query ".|ancestor::xhtml:span" from span#B
18 Result: span#A span#B
19 Expected: span#A span#B
20 SUCCESS
22 Query "ancestor::xhtml:span|." from span#B
23 Result: span#A span#B
24 Expected: span#A span#B
25 SUCCESS
27 Query "ancestor::xhtml:*[local-name()='span']" from span#B
28 Result: span#A
29 Expected: span#A
30 SUCCESS
32 Query ".|ancestor::xhtml:*[local-name()='span']" from span#B
33 Result: span#A span#B
34 Expected: span#A span#B
35 SUCCESS
37 Query "ancestor::xhtml:*[local-name()='span']|." from span#B
38 Result: span#A span#B
39 Expected: span#A span#B
40 SUCCESS
42 Query "(ancestor::xhtml:*[local-name()='span'])|." from span#B
43 Result: span#A span#B
44 Expected: span#A span#B
45 SUCCESS
47 Query "following::xhtml:*[local-name()='span']" from span#B
48 Result: span#C span#D
49 Expected: span#C span#D
50 SUCCESS
52 Query ".|following::xhtml:*[local-name()='span']" from span#B
53 Result: span#B span#C span#D
54 Expected: span#B span#C span#D
55 SUCCESS
57 Query "following::xhtml:*[local-name()='span']|." from span#B
58 Result: span#B span#C span#D
59 Expected: span#B span#C span#D
60 SUCCESS