[Sie-announce] SIEコード [1925] TestSuiteのpaths-data-12-tをパスするために、Sコマンドの修正をした

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 7月 4日 (日) 21:59:26 JST


Revision: 1925
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1925
Author:   dhrname
Date:     2010-07-04 21:59:26 +0900 (Sun, 04 Jul 2010)

Log Message:
-----------
TestSuiteのpaths-data-12-tをパスするために、Sコマンドの修正をした

Modified Paths:
--------------
    branches/06x/061/org/w3c/dom/svg.js

Modified: branches/06x/061/org/w3c/dom/svg.js
===================================================================
--- branches/06x/061/org/w3c/dom/svg.js	2010-07-04 12:43:00 UTC (rev 1924)
+++ branches/06x/061/org/w3c/dom/svg.js	2010-07-04 12:59:26 UTC (rev 1925)
@@ -2217,8 +2217,10 @@
               if (tg.pathSegTypeAsLetter === "C") {
                 var x1 = 2*tg.x - tg.x2;
                 var y1 = 2*tg.y - tg.y2;
-                tnl.appendItem(tar.createSVGPathSegCurvetoCubicAbs(cx, cy, x1, y1, ti.x2, ti.y2));
+              } else {
+                var x1 = ti.x2, y1 = ti.y2;
               }
+              tnl.appendItem(tar.createSVGPathSegCurvetoCubicAbs(cx, cy, x1, y1, ti.x2, ti.y2));
             }
           } else if (dii === "s") {
             if (j !== 0) {
@@ -2226,8 +2228,10 @@
               if (tg.pathSegTypeAsLetter === "C") {
                 var x1 = 2*tg.x - tg.x2;
                 var y1 = 2*tg.y - tg.y2;
-                tnl.appendItem(tar.createSVGPathSegCurvetoCubicAbs(cx, cy, x1, y1, ti.x2+rx, ti.y2+ry));
+              } else {
+                var x1 = ti.x2, y1 = ti.y2;
               }
+              tnl.appendItem(tar.createSVGPathSegCurvetoCubicAbs(cx, cy, x1, y1, ti.x2+rx, ti.y2+ry));
             }
           } else if (dii === "T" || dii === "t") {
             if (j !== 0) {
@@ -4130,7 +4134,7 @@
 function unsvgtovml() {
   try {
     CSSValue = CSSPrimitiveValue = NAIBU.xmlhttp = Node = Event = NAIBU = stlog = STLog = document = null;
-    ActiveXObject = window = null;
+    Array = ActiveXObject = window = null;
   } catch(e) {}
 }
 NAIBU.addEvent("load", (function() {




Sie-announce メーリングリストの案内
Back to archive index