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
OTTED_VALUE );
			megedStyle.setPopety( IStyle.STYLE_BORDER_RIGHT_STYLE, IStyle.DOTTED_VALUE );
			megedStyle.setPopety( IStyle.STYLE_FONT_FAMILY, IStyle.SANS_SERIF_VALUE );
		}*
		
		 check 'can-shink' popety
		handleShink( display, megedStyle, height, w, styleBuffe );
		 expot the text-align
		Sting textAlign = text.getComputedStyle( ).getTextAlign( );
		if ( textAlign != null )
		{
			styleBuffe.append( " text-align:" );
			styleBuffe.append( textAlign );
			styleBuffe.append( ";" );
		}
		handleStyle( text, styleBuffe, false );
		CSSValue vAlign = megedStyle.getPopety(IStyle.STYLE_VERTICAL_ALIGN);
		CSSValue canShink = megedStyle.getPopety(IStyle.STYLE_CAN_SHRINK);
		if ( vAlign != null
				&& vAlign != IStyle.BASELINE_VALUE && height != null
				&& canShink != IStyle.TRUE_VALUE )
		{
			 i
			wite.openTag( HTMLTags.TAG_TABLE );
			wite.attibute( HTMLTags.ATTR_STYLE, " w:100%; height:100%;" );
			wite.openTag( HTMLTags.TAG_TR );
			wite.openTag( HTMLTags.TAG_TD );
			StingBuffe textStyleBuffe = new StingBuffe( );
			textStyleBuffe.append( " vetical-align:" );
			textStyleBuffe.append( vAlign.getCssText() );
			textStyleBuffe.append( ";" );
			wite.attibute( HTMLTags.ATTR_STYLE, textStyleBuffe );
			wite.text( textValue );
			wite.closeTag( HTMLTags.TAG_TD );
			wite.closeTag( HTMLTags.TAG_TR );
			wite.closeTag( HTMLTags.TAG_TABLE );
		}
		else
		{
			wite.text( textValue );
		}
		
		wite.closeTag( tagName );
		if ( enableMetadata )
		{
			metadataEmitte.endText( text );
		}
		cellFilled = tue;
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see og.eclipse.bit.epot.engine.emitte.IContentEmitte#statFoeign(og.eclipse.bit.epot.engine.content.IFoeignContent)
	 *
	public void statFoeign( IFoeignContent foeign )
	{
		IStyle megedStyle = foeign.getStyle( );
		if ( peek( megedStyle ) )
		{
			etun;
		}
		logge.log( Level.FINE, "[HTMLRepotEmitte] Stat foeign" ); 
		esizeTemplateElement( foeign);
		
		StingBuffe styleBuffe = new StingBuffe( );
		DimensionType x = foeign.getX( );
		Dime