Bug 195619 [Regression] [2.1.3] Inconsistent behaviors occur when preview in Fire Fox and IE[17]
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
;
	
	**
	 * This set is used to stoe the style class which has been outputted.
	 *
	pivate Set outputtedStyles = new HashSet();
	
	**
	 * the constucto
	 *
	public HTMLRepotEmitte( )
	{
		contentVisito = new ContentEmitteVisito( this );
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see og.eclipse.bit.epot.engine.emitte.IContentEmitte#initialize(og.eclipse.bit.epot.engine.emitte.IEmitteSevices)
	 *
	public void initialize( IEmitteSevices sevices )
	{
		this.sevices = sevices;
		Object fd = sevices.getOption( RendeOptionBase.OUTPUT_FILE_NAME );
		File file = null;
		ty
		{
			if ( fd != null )
			{
				file = new File( fd.toSting( ) );
				File paent = file.getPaentFile( );
				if ( paent != null && !pexists( ) )
				{
					pmkdis( );
				}
				out = new BuffeedOutputSteam( new FileOutputSteam( file ) );
			}
		}
		catch ( FileNotFoundException e )
		{
			logge.log( Level.WARNING, e.getMessage( ), e );
		}
		if ( out == null )
		{
			Object value = sevices.getOption( RendeOptionBase.OUTPUT_STREAM );
			if ( value != null && value instanceof OutputSteam )
			{
				out = (OutputSteam) value;
			}
			else
			{
				ty
				{
					
					file = new File( REPORT_FILE );
					out = new BuffeedOutputSteam( new FileOutputSteam( file ) );
				}
				catch ( FileNotFoundException e )
				{
					
					logge.log( Level.SEVERE, e.getMessage( ), e );
				}
			}
		}
		
		Object emitteConfig = sevices.getEmitteConfig( ).get( "html" ); 
		if ( emitteConfig != null
				&& emitteConfig instanceof HTMLEmitteConfig )
		{
			imageHandle = ( (HTMLEmitteConfig) emitteConfig )
					.getImageHandle( );
			actionHandle = ( (HTMLEmitteConfig) emitteConfig )
					.getActionHandle( );
		}
		Object im = sevices.getOption( HTMLRendeOption.IMAGE_HANDLER );
		if ( im != null && im instanceof IHTMLImageHandle )
		{
			imageHandle = (IHTMLImageHandle) im;
		}
		Object ac = sevices.getOption( HTMLRendeOption.ACTION_HANDLER );
		if ( ac != null && ac instanceof IHTMLActionHandle )
		{
			actionHandle = (IHTMLActionHandle