| OLD | NEW |
| 1 <?xml version="1.0" standalone="no"?> | 1 <?xml version="1.0" standalone="no"?> |
| 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" | 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" |
| 3 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> | 3 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> |
| 4 <svg width="400" height="300" viewBox="0 0 600 500" | 4 <svg width="400" height="300" viewBox="0 0 600 500" |
| 5 xmlns="http://www.w3.org/2000/svg" version="1.1" onload="test()"> | 5 xmlns="http://www.w3.org/2000/svg" version="1.1" onload="test()"> |
| 6 <script> | 6 <script> |
| 7 | 7 |
| 8 var logOffset = 40; | 8 var logOffset = 40; |
| 9 var logOffsetIncrement = 40 | 9 var logOffsetIncrement = 40 |
| 10 function log(message) | 10 function log(message) |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 function test() | 36 function test() |
| 37 { | 37 { |
| 38 if (window.testRunner) | 38 if (window.testRunner) |
| 39 testRunner.dumpAsText(); | 39 testRunner.dumpAsText(); |
| 40 | 40 |
| 41 expect('', document.title); | 41 expect('', document.title); |
| 42 document.documentElement.appendChild(createTitleElement('First title')); | 42 document.documentElement.appendChild(createTitleElement('First title')); |
| 43 expect('First title', document.title); | 43 expect('First title', document.title); |
| 44 document.documentElement.appendChild(createTitleElement('Second title')); | 44 document.documentElement.appendChild(createTitleElement('Second title')); |
| 45 expect('First title', document.title); | 45 expect('First title', document.title); |
| 46 document.documentElement.removeChild(document.getElementsByTagName('title')[
0]); |
| 47 expect('Second title', document.title); |
| 46 } | 48 } |
| 47 </script> | 49 </script> |
| 48 <g id="console"> | 50 <g id="console"> |
| 49 </g> | 51 </g> |
| 50 </svg> | 52 </svg> |
| OLD | NEW |