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

Side by Side Diff: LayoutTests/fast/xpath/reverse-axes.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
5 <script src="xpath-test-pre.js"></script> 5 <script src="xpath-test-pre.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=15436">bug 15436</a> : 8 <p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=15436">bug 15436</a> :
9 Wrong proximity positions for XPath reverse axes.</p> 9 Wrong proximity positions for XPath reverse axes.</p>
10 10
(...skipping 17 matching lines...) Expand all
28 shouldBe("document.evaluate('preceding::*[2]', document.getElementById('d31' ), null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue.id", "'d2'") ; 28 shouldBe("document.evaluate('preceding::*[2]', document.getElementById('d31' ), null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue.id", "'d2'") ;
29 shouldBe("document.evaluate('preceding::*[3]', document.getElementById('d31' ), null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue.id", "'d1'") ; 29 shouldBe("document.evaluate('preceding::*[3]', document.getElementById('d31' ), null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue.id", "'d1'") ;
30 shouldBe("document.evaluate('preceding::*[4]', document.getElementById('d31' ), null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue.tagName", "' A'"); 30 shouldBe("document.evaluate('preceding::*[4]', document.getElementById('d31' ), null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue.tagName", "' A'");
31 shouldBe("document.evaluate('preceding::*[5]', document.getElementById('d31' ), null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue.tagName", "' P'"); 31 shouldBe("document.evaluate('preceding::*[5]', document.getElementById('d31' ), null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue.tagName", "' P'");
32 32
33 shouldBe("document.evaluate('ancestor::*[1]', document.getElementById('d31') , null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue.id", "'d3'"); 33 shouldBe("document.evaluate('ancestor::*[1]', document.getElementById('d31') , null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue.id", "'d3'");
34 34
35 shouldBe("document.evaluate('ancestor-or-self::*[1]', document.getElementByI d('d31'), null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue.id", "'d31'"); 35 shouldBe("document.evaluate('ancestor-or-self::*[1]', document.getElementByI d('d31'), null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue.id", "'d31'");
36 36
37 </script> 37 </script>
38 <script src="../js/resources/js-test-post.js"></script>
39 </body> 38 </body>
40 </html> 39 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/xpath/py-dom-xpath/predicates.html ('k') | LayoutTests/fast/xpath/string-value.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698