svnno****@sourc*****
svnno****@sourc*****
2010年 1月 13日 (水) 22:35:56 JST
Revision: 1573
http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1573
Author: dhrname
Date: 2010-01-13 22:35:56 +0900 (Wed, 13 Jan 2010)
Log Message:
-----------
Modified Paths:
--------------
branches/05x/058/sie.js
Modified: branches/05x/058/sie.js
===================================================================
--- branches/05x/058/sie.js 2010-01-13 13:16:24 UTC (rev 1572)
+++ branches/05x/058/sie.js 2010-01-13 13:35:56 UTC (rev 1573)
@@ -275,7 +275,7 @@
};
SVGtoVML.prototype.chset = function _s_chset( /*element*/ ele, /*Matrix*/ matrix, /*float*/w, /*float*/h){
var s = null, _isGroup = isGroup, _isShape = isShape, _STElement = STElement, _isText = isText;
- var name = "group|shape|defs|STOP|fill|stroke|DIV|SPAN|A|image|rect|USE|FONTFACEURI|set", gname = "DIV|group"; //要素名に合致させる文字列
+ var name = "group|shape|defs|STOP|fill|stroke|DIV|SPAN|A|image|rect|USE|FONTFACEURI|set"; //要素名に合致させる文字列
var cmatrix = matrix; //子要素に継がせるCTM
var te = ele.firstChild;
if (!!te) {
@@ -307,7 +307,7 @@
this.children[this.children.length] = s;
var s = null; //var宣言によって、再設定
}
- if (gname.indexOf(ten) === -1) {
+ if (!_isGroup[ten] && !_isText[ten]) {
this.chset(te, cmatrix, w, h);
}
}