Index: _source/core/dom/documentFragment.js =================================================================== --- _source/core/dom/documentFragment.js (revision 3229) +++ _source/core/dom/documentFragment.js (working copy) @@ -1,46 +0,0 @@ -/* -Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ -/** - * DocumentFragment is a "lightweight" or "minimal" Document object. It is - * commonly used to extract a portion of a document's tree or to create a new - * fragment of a document. Various operations may take DocumentFragment objects - * as arguments and results in all the child nodes of the DocumentFragment being - * moved to the child list of this node. - * - * @param {Object} ownerDocument - */ -CKEDITOR.dom.documentFragment = function( ownerDocument ) -{ - ownerDocument = ownerDocument || CKEDITOR.document; - this.$ = ownerDocument.$.createDocumentFragment(); -}; - -CKEDITOR.tools.extend( CKEDITOR.dom.documentFragment.prototype, - CKEDITOR.dom.element.prototype, - { - type : CKEDITOR.NODE_DOCUMENT_FRAGMENT, - insertAfterNode : function( node ) - { - node = node.$; - node.parentNode.insertBefore( this.$, node.nextSibling ); - } - }, - true, - { - 'append' : 1, - 'getFirst' : 1, - 'getLast' : 1, - 'appendTo' : 1, - 'moveChildren' : 1, - 'insertAfterNode' : 1, - 'replace' : 1, - 'trim' : 1, - 'ltrim' : 1, - 'rtrim' : 1, - 'getDocument' : 1, - 'getChildCount' : 1, - 'getChild' : 1, - 'getChildren' : 1 - } ); \ No newline at end of file Property changes on: _source\core\dom\documentFragment_temp.js ___________________________________________________________________ Added: svn:mergeinfo Index: _source/tests/core/dom/documentFragment.html =================================================================== --- _source/tests/core/dom/documentFragment.html (revision 3229) +++ _source/tests/core/dom/documentFragment.html (working copy) @@ -1,223 +0,0 @@ - - -
-