public/ckeditor/4.4dev/core/filter.js
function applyDisallowedRule( rule, element, status ) {
		// This rule doesn't match this element - skip it.
		if ( rule.match && !rule.match( element ) )
			return;

		// No properties - it's an element only rule so it disallows entire element.
		// Early return is handled in filterElement.
		if ( rule.noProperties )
			return false;

		// Apply rule to attributes, styles and classes. Switch hadInvalid* to true if method returned true.
		status.hadInvalidAttribute = applyDisallowedRuleToHash( rule.attributes, element.attributes ) || status.hadInvalidAttribute;
		status.hadInvalidStyle = applyDisallowedRuleToHash( rule.styles, element.styles ) || status.hadInvalidStyle;
		status.hadInvalidClass = applyDisallowedRuleToArray( rule.classes, element.classes ) || status.hadInvalidClass;
	}
function applyDisallowedRule( rule, element, status ) {
		// This rule doesn't match this element - skip it.
		if ( rule.match && !rule.match( element ) )
			return;

		// No properties - it's an element only rule so it disallows entire element.
		// Early return is handled in filterElement.
		if ( rule.noProperties )
			return false;

		// Apply rule to attributes, styles and classes. Switch hadInvalid* to true if method returned true.
		status.hadInvalidAttribute = applyDisallowedRuleToHash( rule.attributes, element.attributes ) || status.hadInvalidAttribute;
		status.hadInvalidStyle = applyDisallowedRuleToHash( rule.styles, element.styles ) || status.hadInvalidStyle;
		status.hadInvalidClass = applyDisallowedRuleToArray( rule.classes, element.classes ) || status.hadInvalidClass;
	}
function applyDisallowedRule ( rule , element , status ) { // This rule doesn't match this element - skip it. if ( rule . match && ! rule . match ( element ) ) return ; // No properties - it's an element only rule so it disallows entire element. // Early return is handled in filterElement. if ( rule . noProperties ) return false ; // Apply rule to attributes, styles and classes. Switch hadInvalid* to true if method returned true. status . hadInvalidAttribute = applyDisallowedRuleToHash ( rule . attributes , element . attributes ) || status . hadInvalidAttribute ; status . hadInvalidStyle = applyDisallowedRuleToHash ( rule . styles , element . styles ) || status . hadInvalidStyle ; status . hadInvalidClass = applyDisallowedRuleToArray ( rule . classes , element . classes ) || status . hadInvalidClass ; }
Apply DACR rule to an element.
Apply DACR rule to an element .