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
* @param style
	 * @param borderNum
	 * @return
	 */
	private int getBorderWidthValue( IStyle style, int borderNum )
	{
		if ( null == style )
		{
			return 0;
		}
		if ( IStyle.STYLE_BORDER_TOP_WIDTH != borderNum
				&& IStyle.STYLE_BORDER_RIGHT_WIDTH != borderNum
				&& IStyle.STYLE_BORDER_BOTTOM_WIDTH != borderNum
				&& IStyle.STYLE_BORDER_LEFT_WIDTH != borderNum )
		{
			return 0;
		}
		CSSValue value = style.getProperty( borderNum );
		if ( value != null && ( value instanceof FloatValue ) )
		{
			FloatValue fv = (FloatValue) value;
			float v = fv.getFloatValue( );
			switch ( fv.getPrimitiveType( ) )
			{
				case CSSPrimitiveValue.CSS_CM :
					return (int) ( v * 72000 / 2.54 );
				case CSSPrimitiveValue.CSS_IN :
					return (int) ( v * 72000 );
				case CSSPrimitiveValue.CSS_MM :
					return (int) ( v * 7200 / 2.54 );