Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Unified Diff: LayoutTests/svg/custom/textPath-change-reference2.svg

Issue 333063003: Deflake svg/custom/textPath-change-reference2.svg (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698