Index: third_party/WebKit/LayoutTests/svg/custom/createImageElement2.xhtml |
diff --git a/third_party/WebKit/LayoutTests/svg/custom/createImageElement2.xhtml b/third_party/WebKit/LayoutTests/svg/custom/createImageElement2.xhtml |
index 5c614365919e9ec8ccc82618fa9509c5a75e1b19..fb150e0f71b15f4250762ba7517016f4382a30a4 100644 |
--- a/third_party/WebKit/LayoutTests/svg/custom/createImageElement2.xhtml |
+++ b/third_party/WebKit/LayoutTests/svg/custom/createImageElement2.xhtml |
@@ -5,9 +5,16 @@ |
<body id="body" style="position:absolute; z-index:0; border:1px solid black; left:5%; top:5%; width:90%; height:90%;"> |
<svg xmlns="http://www.w3.org/2000/svg" id='root' width="600px" height="100px"> |
<script type="text/javascript"><![CDATA[ |
+ if (window.testRunner) |
+ testRunner.waitUntilDone(); |
+ |
window.onload = function() { |
var el = document.getElementById('root'); |
var ie = document.createElementNS('http://www.w3.org/2000/svg', "image"); |
+ ie.onload = function() { |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ }; |
ie.setAttribute("x", "10px"); |
ie.setAttribute("y", "10px"); |
ie.setAttribute("width", "100px"); |