[Sie-announce] SIEコード [2254] 0. 66ベータの修正を追加

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 12月 27日 (月) 23:22:03 JST


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

Log Message:
-----------
0.66ベータの修正を追加

Modified Paths:
--------------
    trunk/sie.js

Property Changed:
----------------
    trunk/sie.js

Modified: trunk/sie.js
===================================================================
--- trunk/sie.js	2010-12-27 14:18:58 UTC (rev 2253)
+++ trunk/sie.js	2010-12-27 14:22:03 UTC (rev 2254)
@@ -3336,7 +3336,7 @@
             xmlhttp.onreadystatechange = function() {
               if (xmlhttp.readyState === 4  &&  xmlhttp.status === 200) {
                 var type = xmlhttp.getResponseHeader('Content-Type') || "text";
-                if (/[text|xml|script]/.test(type)) { //ファイルがtext形式である場合
+                if ((type.indexOf("text") > -1) || (type.indexOf("xml") > -1) || (type.indexOf("script") > -1)) { //ファイルがtext形式である場合
                   /*responseXMLを使うと、時々、空のデータを返すことがあるため(原因は不明)、
                    *ここでは、responseTextを用いる
                    */
@@ -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;


Property changes on: trunk/sie.js
___________________________________________________________________
Modified: svn:mergeinfo
   - /branches/04x/040/sie.js:812-829
/branches/04x/041/sie.js:891-923
/branches/04x/042/sie.js:927-967
/branches/04x/043/sie.js:969-1013
/branches/04x/044/sie.js:1015-1067
/branches/04x/045/sie.js:1069-1078
/branches/04x/046/sie.js:1080-1129
/branches/04x/047/sie.js:1131-1164
/branches/04x/048/sie.js:1166-1180
/branches/04x/sie.js:830-1181
/branches/05x/050/sie.js:1183-1201
/branches/05x/051/sie.js:1207-1323
/branches/05x/052/sie.js:1325-1352
/branches/05x/053/sie.js:1354-1400
/branches/05x/054/sie.js:1403-1422
/branches/05x/055/sie.js:1424-1454
/branches/05x/056/sie.js:1456-1491
/branches/05x/057/sie.js:1496-1523
/branches/05x/058/sie.js:1526-1590
/branches/05x/sie.js:1183-1594
/branches/06x/060/sie.js:1603-1850
/branches/06x/sie.js:1599-2242
   + /branches/04x/040/sie.js:812-829
/branches/04x/041/sie.js:891-923
/branches/04x/042/sie.js:927-967
/branches/04x/043/sie.js:969-1013
/branches/04x/044/sie.js:1015-1067
/branches/04x/045/sie.js:1069-1078
/branches/04x/046/sie.js:1080-1129
/branches/04x/047/sie.js:1131-1164
/branches/04x/048/sie.js:1166-1180
/branches/04x/sie.js:830-1181
/branches/05x/050/sie.js:1183-1201
/branches/05x/051/sie.js:1207-1323
/branches/05x/052/sie.js:1325-1352
/branches/05x/053/sie.js:1354-1400
/branches/05x/054/sie.js:1403-1422
/branches/05x/055/sie.js:1424-1454
/branches/05x/056/sie.js:1456-1491
/branches/05x/057/sie.js:1496-1523
/branches/05x/058/sie.js:1526-1590
/branches/05x/sie.js:1183-1594
/branches/06x/060/sie.js:1603-1850
/branches/06x/sie.js:1599-2242,2247-2253




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