svnno****@sourc*****
svnno****@sourc*****
2011年 9月 4日 (日) 20:21:41 JST
Revision: 2919
http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2919
Author: dhrname
Date: 2011-09-04 20:21:41 +0900 (Sun, 04 Sep 2011)
Log Message:
-----------
ドキュメントの階層エラーがあったため、createDocumentメソッドとsvgモジュールの_ca関数を修正した。それにともない、IE6のエラーも修正
Modified Paths:
--------------
branches/08x/085/org/w3c/core.js
branches/08x/085/org/w3c/dom/svg.js
Modified: branches/08x/085/org/w3c/core.js
===================================================================
--- branches/08x/085/org/w3c/core.js 2011-09-03 12:19:04 UTC (rev 2918)
+++ branches/08x/085/org/w3c/core.js 2011-09-04 11:21:41 UTC (rev 2919)
@@ -191,6 +191,7 @@
var s;
if (ns) {
s = new (DOMImplementation[ns].Document);
+ this._doc_ && (s._document_ = this._doc_); //_document_プロパティはcreateElementNSメソッドやradialGradient要素やNAIBU._setPaintなどで使う
} else {
s = new Document();
}
Modified: branches/08x/085/org/w3c/dom/svg.js
===================================================================
--- branches/08x/085/org/w3c/dom/svg.js 2011-09-03 12:19:04 UTC (rev 2918)
+++ branches/08x/085/org/w3c/dom/svg.js 2011-09-04 11:21:41 UTC (rev 2919)
@@ -1726,6 +1726,7 @@
+ "v\\:shape{width:100%;height:100%;" +vmlUrl;
st = vmlUrl = null;
}
+ DOMImplementation._doc_ = _doc; //_doc_プロパティはcreateDocumentメソッドで使う
var str = this.xmlhttp.responseText,
objei = this._tar,
s = DOMImplementation.createDocument("http://www.w3.org/2000/svg", "svg"),
@@ -1747,7 +1748,6 @@
if (ifcw) {
_doc.body.style.backgroundColor = objei.parentNode.currentStyle.backgroundColor;
}
- s._document_ = _doc; //_document_プロパティはradialGradient要素やNAIBU._setPaintなどで使う
ndoc.async = false;
/*下記のプロパティについては、Microsoftのサイトを参照
*ResolveExternals Property [Second-level DOM]