| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../../resources/js-test.js"></script> |
| 4 </head> | 4 </head> |
| 5 <body> | 5 <body> |
| 6 <div style="visibility:hidden"> | 6 <div style="visibility:hidden"> |
| 7 <svg id="emptysvg"></svg> | 7 <svg id="emptysvg"></svg> |
| 8 <svg id="rectsvg"><rect/></svg> | 8 <svg id="rectsvg"><rect/></svg> |
| 9 <svg id="foreign" width="100" height="30"><foreignObject width="100" height="3
0"><p>html</p></foreignObject></svg> | 9 <svg id="foreign" width="100" height="30"><foreignObject width="100" height="3
0"><p>html</p></foreignObject></svg> |
| 10 </div> | 10 </div> |
| 11 <script> | 11 <script> |
| 12 description("Test that accessing innerHTML and outerHTML properties works on SVG
elements"); | 12 description("Test that accessing innerHTML and outerHTML properties works on SVG
elements"); |
| 13 | 13 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 26 function outerHTML(id) { | 26 function outerHTML(id) { |
| 27 return document.getElementById(id).outerHTML; | 27 return document.getElementById(id).outerHTML; |
| 28 } | 28 } |
| 29 | 29 |
| 30 for (var i in tests) { | 30 for (var i in tests) { |
| 31 shouldBeEqualToString(tests[i][0], tests[i][1]); | 31 shouldBeEqualToString(tests[i][0], tests[i][1]); |
| 32 } | 32 } |
| 33 </script> | 33 </script> |
| 34 </body> | 34 </body> |
| 35 </html> | 35 </html> |
| OLD | NEW |