| 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 </head> | 4 </head> |
| 5 <body> | 5 <body> |
| 6 <p id="sometext"> | 6 <p id="sometext"> |
| 7 <STRONG>strong</STRONG><strong>strong</strong><FOO>FOO</FOO><foo>foo</foo> | 7 <STRONG>strong</STRONG><strong>strong</strong><FOO>FOO</FOO><foo>foo</foo> |
| 8 </p> | 8 </p> |
| 9 <div id="console"></div> | 9 <div id="console"></div> |
| 10 <script type="text/javascript"> | 10 <script type="text/javascript"> |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 var doc = (new DOMParser).parseFromString('<p id="sometext" xmlns="http://ww
w.w3.org/1999/xhtml"><STRONG>strong</STRONG><strong>strong</strong><FOO xmlns=""
>FOO</FOO><foo xmlns="">foo</foo></p>', 'application/xhtml+xml'); | 32 var doc = (new DOMParser).parseFromString('<p id="sometext" xmlns="http://ww
w.w3.org/1999/xhtml"><STRONG>strong</STRONG><strong>strong</strong><FOO xmlns=""
>FOO</FOO><foo xmlns="">foo</foo></p>', 'application/xhtml+xml'); |
| 33 | 33 |
| 34 testXML('//*[@id="sometext"]//x:strong', '1'); | 34 testXML('//*[@id="sometext"]//x:strong', '1'); |
| 35 testXML('//*[@id="sometext"]//x:Strong', '0'); | 35 testXML('//*[@id="sometext"]//x:Strong', '0'); |
| 36 testXML('//*[@id="Sometext"]//x:strong', '0'); | 36 testXML('//*[@id="Sometext"]//x:strong', '0'); |
| 37 testXML('//*[@id="sometext"]//foo', '1'); | 37 testXML('//*[@id="sometext"]//foo', '1'); |
| 38 testXML('//*[@id="sometext"]//FOO', '1'); | 38 testXML('//*[@id="sometext"]//FOO', '1'); |
| 39 | 39 |
| 40 </script> | 40 </script> |
| 41 <script src="../js/resources/js-test-post.js"></script> | |
| 42 </body> | 41 </body> |
| 43 </html> | 42 </html> |
| OLD | NEW |