public/ckeditor/4.4dev/core/dom/elementpath.js
function( tag ) {
		var holder;

		// Check for block context.
		if ( tag in CKEDITOR.dtd.$block ) {
			// Indeterminate elements which are not subjected to be splitted or surrounded must be checked first.
			var inter = this.contains( CKEDITOR.dtd.$intermediate );
			holder = inter || ( this.root.equals( this.block ) && this.block ) || this.blockLimit;
			return !!holder.getDtd()[ tag ];
		}

		return true;
	}
function( tag ) {
		var holder;

		// Check for block context.
		if ( tag in CKEDITOR.dtd.$block ) {
			// Indeterminate elements which are not subjected to be splitted or surrounded must be checked first.
			var inter = this.contains( CKEDITOR.dtd.$intermediate );
			holder = inter || ( this.root.equals( this.block ) && this.block ) || this.blockLimit;
			return !!holder.getDtd()[ tag ];
		}

		return true;
	}
function ( tag ) { var holder ; // Check for block context. if ( tag in CKEDITOR . dtd . $block ) { // Indeterminate elements which are not subjected to be splitted or surrounded must be checked first. var inter = this . contains ( CKEDITOR . dtd . $intermediate ) ; holder = inter || ( this . root . equals ( this . block ) && this . block ) || this . blockLimit ; return ! ! holder . getDtd ( ) [ tag ] ; } return true ; }
Check whether the elements path is the proper context for the specified
tag name in the DTD.

@param {String} tag The tag name.
@returns {Boolean}
Check whether the elements path is the proper context for the specified tag name in the DTD .