svnno****@sourc*****
svnno****@sourc*****
2010年 3月 9日 (火) 23:42:22 JST
Revision: 1710 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1710 Author: dhrname Date: 2010-03-09 23:42:22 +0900 (Tue, 09 Mar 2010) Log Message: ----------- importNodeメソッドの修正 Modified Paths: -------------- branches/ufltima/core.js Modified: branches/ufltima/core.js =================================================================== --- branches/ufltima/core.js 2010-03-09 14:39:39 UTC (rev 1709) +++ branches/ufltima/core.js 2010-03-09 14:42:22 UTC (rev 1710) @@ -857,9 +857,9 @@ s.nodeValue = importedNode.nodeValue; break; case Node.TEXT_NODE: + s = this.createTextNode(importNode.data); case Node.COMMENT_NODE: - s = importedNode.cloneNode(false); - s.ownerDocument = this; + s = importedNode.createComment(importNode.data); break; case Node.DOCUMENT_FRAGMENT_NODE: //document_fragment_node break;