| OLD | NEW |
| 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 <div id="console"></div> | 8 <div id="console"></div> |
| 9 | 9 |
| 10 <script> | 10 <script> |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 checkSnapshot("descendant-or-self::node() (context = attr1)", | 158 checkSnapshot("descendant-or-self::node() (context = attr1)", |
| 159 result, | 159 result, |
| 160 [attr1]); | 160 [attr1]); |
| 161 | 161 |
| 162 result = doc.evaluate("ancestor-or-self::node()", attr1, null, XPathResult.ORDER
ED_NODE_SNAPSHOT_TYPE, null); | 162 result = doc.evaluate("ancestor-or-self::node()", attr1, null, XPathResult.ORDER
ED_NODE_SNAPSHOT_TYPE, null); |
| 163 checkSnapshot("ancestor-or-self::node() (context = attr1)", | 163 checkSnapshot("ancestor-or-self::node() (context = attr1)", |
| 164 result, | 164 result, |
| 165 [doc, doc.documentElement, CHILD1, attr1]); | 165 [doc, doc.documentElement, CHILD1, attr1]); |
| 166 | 166 |
| 167 </script> | 167 </script> |
| 168 <script src="../js/resources/js-test-post.js"></script> | |
| 169 </body> | 168 </body> |
| 170 </html> | 169 </html> |
| OLD | NEW |