Index: LayoutTests/svg/custom/svg2-loadevents-normal-displaynone.svg |
diff --git a/LayoutTests/svg/custom/loadevents-normal.svg b/LayoutTests/svg/custom/svg2-loadevents-normal-displaynone.svg |
similarity index 70% |
rename from LayoutTests/svg/custom/loadevents-normal.svg |
rename to LayoutTests/svg/custom/svg2-loadevents-normal-displaynone.svg |
index df2dad4a3dd5bdb95b920df80223c7a8cfa7ceca..35df3004ab667168118967008305e54e839b06dd 100644 |
--- a/LayoutTests/svg/custom/loadevents-normal.svg |
+++ b/LayoutTests/svg/custom/svg2-loadevents-normal-displaynone.svg |
@@ -12,9 +12,8 @@ |
function runTest() |
{ |
var test = document.getElementById("console"); |
- if ( results.length != 4 || results[0] != "image" || |
- results[1] != "text" || results[2] != "g" || |
- results[3] != "svg") { |
+ if ( results.length != 2 || results[0] != "image" || |
+ results[1] != "svg") { |
test.appendChild(document.createTextNode("Failed")); |
} else { |
test.appendChild(document.createTextNode("Passed")); |
@@ -23,8 +22,8 @@ |
]]> |
</script> |
<g onload="reportLoadEvent(this)"> |
- <image externalResourcesRequired="false" id="image" onload="reportLoadEvent(this)" width="100" height="100" xlink:href="resources/green-checker.png" /> |
- <text y="130" x="20">This tests normal load dispatching order. Bug 16447</text> |
+ <image display="none" id="image" onload="reportLoadEvent(this)" width="100" height="100" xlink:href="resources/green-checker.png" /> |
+ <text y="130" x="20">This tests normal load dispatching order and an image that does not render(display=none).</text> |
<text y="150" x="20" id="console" onload="reportLoadEvent(this)"/> |
</g> |
</svg> |