| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../js/resources/js-test-pre.js"></script> | 3 <script src="../../js/resources/js-test-pre.js"></script> |
| 4 <script src="../xpath-test-pre.js"></script> | 4 <script src="../xpath-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <div id="console"></div> | 7 <div id="console"></div> |
| 8 | 8 |
| 9 <script> | 9 <script> |
| 10 var doc = (new DOMParser).parseFromString( | 10 var doc = (new DOMParser).parseFromString( |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 doc = (new DOMParser).parseFromString( | 166 doc = (new DOMParser).parseFromString( |
| 167 '<doc>' + | 167 '<doc>' + |
| 168 ' <employee name="Alice" />' + | 168 ' <employee name="Alice" />' + |
| 169 ' <employee name="Bob" secretary="Cathy" />' + | 169 ' <employee name="Bob" secretary="Cathy" />' + |
| 170 ' <employee name="Dianne" secretary="Edward" assistant="Fran" />' + | 170 ' <employee name="Dianne" secretary="Edward" assistant="Fran" />' + |
| 171 '</doc>', | 171 '</doc>', |
| 172 'application/xml'); | 172 'application/xml'); |
| 173 test(doc, doc.documentElement, "employee[@secretary and @assistant]", [doc.getEl
ementsByTagName("employee")[2]]); | 173 test(doc, doc.documentElement, "employee[@secretary and @assistant]", [doc.getEl
ementsByTagName("employee")[2]]); |
| 174 | 174 |
| 175 </script> | 175 </script> |
| 176 <script src="../../js/resources/js-test-post.js"></script> | |
| 177 </body> | 176 </body> |
| 178 </html> | 177 </html> |
| OLD | NEW |