| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 <!DOCTYPE html> | 
|  | 2 <script src="/js-test-resources/js-test.js"></script> | 
|  | 3 <body onload="bodyOnLoad()"> | 
|  | 4 <p> | 
|  | 5   Tests when image's onload event handler is called, and | 
|  | 6   when image.complete becomes true, for data URL (SVG). | 
|  | 7 </p> | 
|  | 8 <div id="console"></div> | 
|  | 9 <script> | 
|  | 10 // A random value is added not to hit a cache. | 
|  | 11 var url = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='300
    ' viewBox='0 180 150 220' style='background:blue'><!-- " + | 
|  | 12     Math.random() + " --></svg>" | 
|  | 13 </script> | 
|  | 14 <script src="resources/onload-test.js"></script> | 
|  | 15 </body> | 
| OLD | NEW | 
|---|