Lines Matching refs:htmlNode

126 FCKXHtml._AppendChildNodes = function( xmlNode, htmlNode, isBlockElement )  argument
128 var oNode = htmlNode.firstChild ;
138 if ( isBlockElement && htmlNode.tagName && htmlNode.tagName.toLowerCase() != 'pre' )
174 FCKXHtml._AppendNode = function( xmlNode, htmlNode ) argument
176 if ( !htmlNode )
179 switch ( htmlNode.nodeType )
186 && htmlNode.tagName.toLowerCase() == 'br'
187 && htmlNode.parentNode.tagName.toLowerCase() == 'pre' )
190 if ( htmlNode == htmlNode.parentNode.firstChild )
197 if ( htmlNode.getAttribute('_fckfakelement') )
198 return FCKXHtml._AppendNode( xmlNode, FCK.GetRealElement( htmlNode ) ) ;
202 … ( htmlNode.hasAttribute('_moz_editor_bogus_node') || htmlNode.getAttribute( 'type' ) == '_moz' ) )
207 if ( htmlNode.getAttribute('_fcktemp') )
211 var sNodeName = htmlNode.tagName.toLowerCase() ;
216 if ( htmlNode.scopeName && htmlNode.scopeName != 'HTML' && htmlNode.scopeName != 'FCK' )
217 sNodeName = htmlNode.scopeName.toLowerCase() + ':' + sNodeName ;
233 if ( htmlNode._fckxhtmljob && htmlNode._fckxhtmljob == FCKXHtml.CurrentJobNum )
239 FCKXHtml._AppendAttributes( xmlNode, htmlNode, oNode, sNodeName ) ;
241 htmlNode._fckxhtmljob = FCKXHtml.CurrentJobNum ;
247 oNode = oTagProcessor( oNode, htmlNode, xmlNode ) ;
249 …oNode = this._AppendChildNodes( oNode, htmlNode, Boolean( FCKListsLib.NonEmptyBlockElements[ sNode…
260 if ( htmlNode.parentNode && htmlNode.parentNode.nodeName.IEquals( 'pre' ) )
261 return this._AppendTextNode( xmlNode, htmlNode.nodeValue ) ;
262 return this._AppendTextNode( xmlNode, htmlNode.nodeValue.ReplaceNewLineChars(' ') ) ;
268 if ( FCKBrowserInfo.IsIE && !htmlNode.innerHTML )
271 try { xmlNode.appendChild( this.XML.createComment( htmlNode.nodeValue ) ) ; }
277 …s.XML.createComment( "Element not supported - Type: " + htmlNode.nodeType + " Name: " + htmlNode.n…
315 img : function( node, htmlNode ) argument
321 var sSavedUrl = htmlNode.getAttribute( '_fcksavedurl' ) ;
328 a : function( node, htmlNode ) argument
331 if ( htmlNode.innerHTML.Trim().length == 0 && !htmlNode.name )
334 var sSavedUrl = htmlNode.getAttribute( '_fcksavedurl' ) ;
343 if ( htmlNode.name )
344 FCKXHtml._AppendAttribute( node, 'name', htmlNode.name ) ;
347 node = FCKXHtml._AppendChildNodes( node, htmlNode, false ) ;
352 script : function( node, htmlNode ) argument
358 node.appendChild( FCKXHtml.XML.createTextNode( FCKXHtml._AppendSpecialItem( htmlNode.text ) ) ) ;
363 style : function( node, htmlNode ) argument
369 var cssText = htmlNode.innerHTML ;
378 pre : function ( node, htmlNode ) argument
380 for ( var i = 0 ; i < htmlNode.childNodes.length ; i++ )
382 var item = htmlNode.childNodes[i] ;
392 title : function( node, htmlNode ) argument
400 ol : function( node, htmlNode, targetNode ) argument
402 if ( htmlNode.innerHTML.Trim().length == 0 )
412 htmlNode._fckxhtmljob = null ;
413 FCKXHtml._AppendNode( ePSibling, htmlNode ) ;
417 node = FCKXHtml._AppendChildNodes( node, htmlNode ) ;
422 span : function( node, htmlNode ) argument
425 if ( htmlNode.innerHTML.length == 0 )
428 node = FCKXHtml._AppendChildNodes( node, htmlNode, false ) ;
435 iframe : function( node, htmlNode ) argument
437 var sHtml = htmlNode.innerHTML ;
451 body : function( node, htmlNode ) argument
453 node = FCKXHtml._AppendChildNodes( node, htmlNode, false ) ;