[Sie-announce] SIEコード [2253] 1, g要素の属性変更に際して、画像の変遷ができるように修正

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 12月 27日 (月) 23:18:58 JST


Revision: 2253
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2253
Author:   dhrname
Date:     2010-12-27 23:18:58 +0900 (Mon, 27 Dec 2010)

Log Message:
-----------
1, g要素の属性変更に際して、画像の変遷ができるように修正
2, SVG Fontに対して、text要素に子要素があった場合の対処を追加。

Modified Paths:
--------------
    branches/06x/sie.js

Modified: branches/06x/sie.js
===================================================================
--- branches/06x/sie.js	2010-12-26 14:31:27 UTC (rev 2252)
+++ branches/06x/sie.js	2010-12-27 14:18:58 UTC (rev 2253)
@@ -3702,11 +3702,12 @@
       var tar = evt.target;
       var s = tar.getElementsByTagNameNS("http://www.w3.org/2000/svg", "*");
       if (s) {
+        tar._currentStyle = tar._cacheMatrix = null; //キャッシュを消去
         var evtt = tar.ownerDocument.createEvent("MutationEvents");
         evtt.initMutationEvent("DOMNodeInsertedIntoDocument", false, false, null, null, null, null, null);
         for (var i=0,sli=s.length;i<sli;++i) {
           var di = s[i];
-          di._cacheMatrix = null; //キャッシュを消去
+          di._currentStyle = di._cacheMatrix = null;
           di.dispatchEvent(evtt);
           di = null;
         }
@@ -7909,7 +7910,7 @@
           }
         }
         adv = advanceX = glyphData = null;
-      } else {
+      } else if ("tspan|a".indexOf(node.localName) > -1){
         NAIBU._noie_createFont(node, font, isMSIE);
       }
       node = node.nextSibling;




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