svnno****@sourc*****
svnno****@sourc*****
2010年 11月 29日 (月) 23:26:51 JST
Revision: 2185 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2185 Author: dhrname Date: 2010-11-29 23:26:51 +0900 (Mon, 29 Nov 2010) Log Message: ----------- SVGFont関連の実装開始 Modified Paths: -------------- branches/06x/065/org/w3c/dom/svg.js Modified: branches/06x/065/org/w3c/dom/svg.js =================================================================== --- branches/06x/065/org/w3c/dom/svg.js 2010-11-28 14:35:34 UTC (rev 2184) +++ branches/06x/065/org/w3c/dom/svg.js 2010-11-29 14:26:51 UTC (rev 2185) @@ -4736,7 +4736,7 @@ /* try{*/ var ntc = NAIBU.Time.currentFrame++; var nc = NAIBU.Clip; - var s = ntc * 125 * 0.8; //フレーム数ntcをミリ秒数sに変換 + var s = ntc * 100; //フレーム数ntcをミリ秒数sに変換 if (ntc > NAIBU.Time.Max) { clearInterval(NAIBU.stop); } @@ -5166,6 +5166,11 @@ SVGExternalResourcesRequired, SVGStylable*/ { SVGElement.apply(this); + this.addEventListener("SVGLoad", function(evt){ + var tar = evt.target, ctar = evt.currentTarget; + ctar._instance = tar._instance; + evt = tar = ctar = null; + }, true); return this; }; SVGFontElement.constructor = SVGElement; @@ -5225,11 +5230,6 @@ } evt.target.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:show", "embed"); }, false); - this.addEventListener("SVGLoad", function(evt){ - var tar = evt.target; - var doc = tar.ownerDocument.importNode(tar._instance, true); - evt = trans = tar = evtt = tgtb = null; - }, false); SVGURIReference.apply(this); return this; };