svnno****@sourc*****
svnno****@sourc*****
2009年 12月 27日 (日) 22:55:46 JST
Revision: 1509
http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1509
Author: dhrname
Date: 2009-12-27 22:55:46 +0900 (Sun, 27 Dec 2009)
Log Message:
-----------
ルート要素にvisibilityプロパティを適用させるのをやめる
Modified Paths:
--------------
branches/05x/057/sie.js
Modified: branches/05x/057/sie.js
===================================================================
--- branches/05x/057/sie.js 2009-12-27 13:38:30 UTC (rev 1508)
+++ branches/05x/057/sie.js 2009-12-27 13:55:46 UTC (rev 1509)
@@ -161,10 +161,7 @@
return this;
}
SVGtoVML.prototype.read = function stvread(/*element*/ ob) {
- var dewp = new Date();
var tr = this.rootElement;
- tr.style.visibility = "hidden";
- alert((new Date()).getTime() - dewp.getTime());
this.vi = new STViewSpec(tr);
try{
this.children = []; //子要素
@@ -201,8 +198,6 @@
this.rootElement.appendChild(backr);
var trstyle = this.rootElement.style;
var tpstyle = ob.style;
- trstyle.visibility = "visible";
- //以下、画像を切り取り
trstyle.overflow = "hidden";
var backrs = backr.currentStyle;
var viewWidth = w > sw ? sw : w, viewHeight = h > sh ? sh : h; //ウィンドウ枠の長さを決定する
@@ -2597,8 +2592,10 @@
ob.coordsize = regwv +" "+ reghv;
var STdocument = new SVGtoVML(obc, obwidth, obheight, regw, regh);
obj.parentNode.insertBefore(ob, obj);
+ var dewp = new Date();
STdocument.read(ob);
STdocument.set(ob);
+ alert((new Date()).getTime() - dewp.getTime());
STdocument = obw = obh = regw = regh = null;
NAIBU.PaintColor.prototype.cache = {}; //キャッシュの初期化
if (NAIBU.STObject !== void 0) {NAIBU.STObject.next();}