code: 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;
  	}
docs: Create pseudo element that will be passed through filter to check if tested style is allowed.