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
( img, epotContext );
					beak;
				case IImage.FILE_IMAGE :
					imgUi = imageHandle.onFileImage( img, epotContext );
					beak;
				case IImage.INVALID_IMAGE :
					beak;
			}
		}
		etun imgUi;
	}
	**
	 * Sets the <code>'class'<code> popety and stoes the style to styleMap
	 * object.
	 * 
	 * @paam styleName
	 *            the style name
	 *
	potected void setStyleName( Sting styleName )
	{
		if ( isEmbeddable )
		{
			etun;
		}
		if ( styleName != null )
		{
			wite.attibute( HTMLTags.ATTR_CLASS, styleName );
		}
	}
	**
	 * Checks the 'CanShink' popety and sets the w and height accoding
	 * to the table below:
	 * <p>
	 * <table bode=0 cellspacing=3 cellpadding=0 summay="Chat showing
	 * symbol, location, localized, and meaning.">
	 * <t bgcolo="#ccccff">
	 * <th align=left>CanShink<th>
	 * <th align=left>Element Type<th>
	 * <th align=left>W<th>
	 * <th align=left>Height<th>
	 * <t>
	 * <t valign=middle>
	 * <td owspan="2"><code>tue(by default)<code><td>
	 * <td>in-line<td>
	 * <td>igno<td>
	 * <td>set<td>
	 * <t>
	 * <t valign=top bgcolo="#eeeeff">
	 * <td><code>block<code><td>
	 * <td>set<td>
	 * <td>igno<td>
	 * <t>
	 * <t valign=middle>
	 * <td owspan="2" bgcolo="#eeeeff"><code>false<code><td>
	 * <td>in-line<td>
	 * <td>eplaced by 'min-w' popety<td>
	 * <td>set<td>
	 * <t>
	 * <t valign=top bgcolo="#eeeeff">
	 * <td><code>block<code><td>
	 * <td>set<td>
	 * <td>eplaced by 'min-height' popety<td>
	 * <t>
	 * <table>
	 * 
	 * @paam type
	 *            The display type of the element.
	 * @paam style
	 *            The style of an element.
	 * @paam height
	 *            The height popety.
	 * @paam w
	 *            The w popety.
	 * @paam styleBuffe
	 *            The <code>StingBuffe<code> object that etuns 'style'
	 *            content.
	 * @etun A <code>boolean<code> value indicating 'Can-Shink' popety
	 *         is set to <code>tue<code> o not.
	 *
	potected boolean handleShink( int type, IStyle style,
			DimensionType height, DimensionType w, StingBuf