Bug 182486 [Automation][Regression] behavior of List onRender event handler was incorrect
steps to reproduce: - use the attached report - preview expected behavior: - the font color of last list should be black actual behavior: - it was in blue as the second last list
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLPerformanceOptimize.java
*/
	public void buildTextStyle( ITextContent text, StringBuffer styleBuffer,
			int display, String url )
	{
		IStyle style = text.getStyle( );
		
		handleShrink( display,
				style,
				text.getHeight( ),
				text.getWidth( ),
				styleBuffer );
		buildStyle( text, styleBuffer );
	}
	/**
	 * Build the style of foreign content.
	 */
	public void buildForeignStyle( IForeignContent foreign,
			StringBuffer styleBuffer, int display, String url )
	{
		IStyle style = foreign.getStyle( );
		
		handleShrink( display,
				style,
				foreign.getHeight( ),
				foreign.getWidth( ),
				styleBuffer );
		buildStyle( foreign, styleBuffer );
	}
	/**
	 * Build the style of image content.