Lines Matching refs:doc
381 EnforcePaddingNode : function( doc, tagName ) argument
383 this.CheckAndRemovePaddingNode( doc, tagName, true ) ;
384 if ( doc.body.lastChild && ( doc.body.lastChild.nodeType != 1
385 || doc.body.lastChild.tagName.toLowerCase() == tagName.toLowerCase() ) )
387 var node = doc.createElement( tagName ) ;
391 if ( doc.body.childNodes.length == 1
392 && doc.body.firstChild.nodeType == 1
393 && doc.body.firstChild.tagName.toLowerCase() == 'br'
394 && ( doc.body.firstChild.getAttribute( '_moz_dirty' ) != null
395 || doc.body.firstChild.getAttribute( 'type' ) == '_moz' ) )
396 doc.body.replaceChild( node, doc.body.firstChild ) ;
398 doc.body.appendChild( node ) ;
401 CheckAndRemovePaddingNode : function( doc, tagName, dontRemove ) argument
408 if ( paddingNode.parentNode != doc.body
595 GetNodeFromAddress : function( doc, addr, normalized ) argument
597 var cursor = doc.documentElement ;
727 var doc = listArray[baseIndex].parent.ownerDocument ;
728 var retval = doc.createDocumentFragment() ;
743 currentListItem = doc.createElement( 'li' ) ;
759 currentListItem = doc.createElement( 'li' ) ;
763 currentListItem = doc.createElement( FCKConfig.EnterMode ) ;
765 currentListItem = doc.createDocumentFragment() ;
775 currentListItem.appendChild( doc.createElement( 'br' ) ) ;
782 var tmp = doc.createDocumentFragment() ;