svnno****@sourc*****
svnno****@sourc*****
2010年 10月 9日 (土) 20:24:56 JST
Revision: 2046 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2046 Author: dhrname Date: 2010-10-09 20:24:56 +0900 (Sat, 09 Oct 2010) Log Message: ----------- 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-10-09 11:16:09 UTC (rev 2045) +++ branches/06x/061/org/w3c/dom/svg.js 2010-10-09 11:24:56 UTC (rev 2046) @@ -3265,6 +3265,7 @@ if ((evt.eventPhase === Event.CAPTURING_PHASE) && (tar.nodeType === Node.TEXT_NODE) && !!!tar._tars) { /*Textノードにdiv要素を格納したリストをプロパティとして蓄えておく*/ tar._tars = []; + console.log(tar.data); for (var i=0, tdli=tar.data.length;i<tdli;++i) { var d = document.createElement("div"), dstyle = d.style; dstyle.position = "absolute"; @@ -3276,7 +3277,7 @@ tar._tars[tar._tars.length] = d; } cur._length += tar._tars.length; - } else if ((evt.eventPhase === Event.CAPTURING_PHASE) && (tar instanceof SVGTextContentElement) && !!!tar._tar) { + } else if ((evt.eventPhase === Event.CAPTURING_PHASE) && (tar instanceof SVGTextContentElement) && !!!tar._tars) { cur._length += tar._length; } evt = tar = null;