public/ckeditor/4.4dev/core/filter.js
function mockElementFromStyle( style ) {
		var styleDef = style.getDefinition(),
			styles = styleDef.styles,
			attrs = styleDef.attributes || {};

		if ( styles ) {
			styles = copy( styles );
			attrs.style = CKEDITOR.tools.writeCssText( styles, true );
		} else {
			styles = {};
		}

		var el = {
			name: styleDef.element,
			attributes: attrs,
			classes: attrs[ 'class' ] ? attrs[ 'class' ].split( /\s+/ ) : [],
			styles: styles,
			children: []
		};

		return el;
	}
function mockElementFromStyle( style ) {
		var styleDef = style.getDefinition(),
			styles = styleDef.styles,
			attrs = styleDef.attributes || {};

		if ( styles ) {
			styles = copy( styles );
			attrs.style = CKEDITOR.tools.writeCssText( styles, true );
		} else {
			styles = {};
		}

		var el = {
			name: styleDef.element,
			attributes: attrs,
			classes: attrs[ 'class' ] ? attrs[ 'class' ].split( /\s+/ ) : [],
			styles: styles,
			children: []
		};

		return el;
	}
function mockElementFromStyle ( style ) { var styleDef = style . getDefinition ( ) , styles = styleDef . styles , attrs = styleDef . attributes || { } ; if ( styles ) { styles = copy ( styles ) ; attrs . style = CKEDITOR . tools . writeCssText ( styles , true ) ; } else { styles = { } ; } var el = { name : styleDef . element , attributes : attrs , classes : attrs [ 'class' ] ? attrs [ 'class' ] . split ( / \s+ / ) : [ ] , styles : styles , children : [ ] } ; return el ; }
Create pseudo element that will be passed through filter to check if tested style is allowed.
Create pseudo element that will be passed through filter to check if tested style is allowed .