Index: LayoutTests/svg/custom/textPath-change-reference2.svg |
diff --git a/LayoutTests/svg/custom/textPath-change-reference2.svg b/LayoutTests/svg/custom/textPath-change-reference2.svg |
index 288211eb04b09b1201fafcbb91626c308c87dc4d..9ca329f7964819692c7b96a1669934835ae1f13b 100644 |
--- a/LayoutTests/svg/custom/textPath-change-reference2.svg |
+++ b/LayoutTests/svg/custom/textPath-change-reference2.svg |
@@ -1,13 +1,11 @@ |
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runTest()"> |
- <path id="thePath" d="M150 50 L 450 50" /> |
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> |
+ <path id="visiblePath" d="M150 50 L 450 50" /> |
<text x="50" y="50">PASS</text> |
<text> |
- <textPath id="theTP" xlink:href="#thePath">FAIL</textPath> |
+ <textPath id="failText" xlink:href="#visiblePath">FAIL</textPath> |
</text> |
<script><![CDATA[ |
- function runTest() { |
- var tp = document.getElementById("theTP"); |
- tp.setAttributeNS("http://www.w3.org/1999/xlink","href","#wrongPath"); |
- } |
+ var failText = document.getElementById("failText"); |
+ failText.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#notVisiblePath"); |
]]></script> |
</svg> |