Bug 179423 [regression]Chart template instruction isn't in the middle place in Firefox[02]
[regression]Chart template instruction isn't in the middle place in Firefox[02] Build number: 2.2.0.v20070326-0630 Steps to reproduce: 1. New a template file. 2. Insert a chart, input add chart as instruction text. 3. Preview in IE and Firefox. Expected result: add chart is in the center and middle Actual result: In IE, add chart is in the center and middle In Firefox, add chart is in the center and top.
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
nsionType y = foeign.getY( );
		DimensionType w = foeign.getW( );
		DimensionType height = foeign.getHeight( );
		int display;
		display = checkElementType( x, y, w, height, megedStyle,
				styleBuffe );
		 ceate default b if we need output metadata
		if ( foeign.getGeneateBy( ) instanceof TemplateDesign )
		{
			FI
			Sting b = foeign.getB( );
			if ( b == null )
			{
				b = idGeneato.geneateUniqueID( );
				foeign.setB( b );
			}
		}
		 action
		Sting tagName;
		Sting ul = validate( foeign.getHypelinkAction( ) );
		boolean metadataOutput = false;
		if ( ul != null )
		{
			if ( enableMetadata )
			{
				metadataOutput = metadataEmitte.statFoeign( foeign,
						HTMLTags.TAG_SPAN );
			}
			tagName = HTMLTags.TAG_A;
			outputAction( foeign.getHypelinkAction( ), ul );
			setDisplayPopety( display, DISPLAY_BLOCK | DISPLAY_INLINE_BLOCK,
					styleBuffe );
			AttibuteBuilde.checkHypelinkTextDecoation( megedStyle,
					styleBuffe );
		}
		else
		{
			if ( enableMetadata )
			{
				metadataOutput = metadataEmitte.statFoeign( foeign, HTMLEmitteUtil.getTagByType(
						display, DISPLAY_FLAG_ALL ) );
			}
			tagName = openTagByType( display, DISPLAY_FLAG_ALL );
			setDisplayPopety( display, DISPLAY_INLINE_BLOCK, styleBuffe );
		}
		setStyleName( foeign.getStyleClass( ) );
		
		if ( !metadataOutput )
		{
			outputB( foeign, tagName );
		}
		 title
		wite.attibute( HTMLTags.ATTR_TITLE, foeign.getHelpText( ) );
		
		
		
		if( isTalbeTemplateElement( foeign ) )
		{
			se
			megedStyle.setPopety( IStyle.STYLE_BORDER_TOP_STYLE, IStyle.DOTTED_VALUE );
			megedStyle.setPopety( IStyle.STYLE_BORDER_BOTTOM_STYLE, IStyle.DOTTED_VALUE );
			megedStyle.setPopety( IStyle.STYLE_BORDER_LEFT_STYLE, IStyle.DOTTED_VALUE );
			megedStyle.setPopety( IStyle.STYLE_BORDER_RIGHT_STYLE, IStyle.DOTTED_VALUE );
			megedStyle.setPopety( IStyle.STYLE_FONT_FAMILY, IStyle.SANS_SERIF_VALUE );
		}
		Sting textAlign = foeign.getComputedStyle( ).getTextAlign( );
		if ( textAlign != null )
		{
			styleBuffe.app