Bug 183704 [Automation][Regression] text decoration was output twice in html source
steps to reproduce: - set font underline, overline, or line-through - preview in html - check source expected behavior: - text decoration should be output once only for each style attribute actual behavior: - it was output twice actually
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLVisionOptimize.java
/**
	 * Build the style of table content
	 */
	public void buildTableStyle( ITableContent table, StringBuffer styleBuffer,
			String layoutPreference )
	{
		IStyle style = table.getStyle( );
		addDefaultTableStyles( styleBuffer );
		
		DimensionType x = table.getX( );
		DimensionType y = table.getY( );
		int display = getElementType( x, y, null, null, style );
		setDisplayProperty( display,
				HTMLEmitterUtil.DISPLAY_INLINE,
				styleBuffer );
		
		handleShrink( HTMLEmitterUtil.DISPLAY_BLOCK,
				style,
				table.getHeight( ),
				table.getWidth( ),
				styleBuffer );
		
		if ( HTMLRenderOption.LAYOUT_PREFERENCE_FIXED.equals( layoutPreference ) )
		{
			
			if ( ( null == style )
					|| !"true".equalsIgnoreCase( style.getCanShrink( ) ) )
			{
				
				styleBuffer.append( " table-layout:fixed;" );