Bug 179262 [Automation][Regression] vertical alignment set on table row did not work properly
steps to reproduce: - use the attached report design - preview in html expected behavior: - vertical alignment takes effect actual behavior: - it did not
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
ED_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.append( " text-align:" );
			styleBuffe.append( textAlign );
			styleBuffe.append( ";" );
		}
		 check 'can-shink' popety
		handleShink( display, megedStyle, height, w, styleBuffe );
		handleStyle( foeign, styleBuffe, false );
		Sting awType = foeign.getRawType( );
		boolean isHtml = IFoeignContent.HTML_TYPE.equalsIgnoeCase( awType );
		if ( isHtml )
		{
			CSSValue vAlign = megedStyle.getPopety(IStyle.STYLE_VERTICAL_ALIGN);
			if (vAlign != null &&  vAlign != IStyle.BASELINE_VALUE && height != null )
			{
				 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 );
				outputHtmlText(foeign);
				wite.closeTag( HTMLTags.TAG_TD );
				wite.closeTag( HTMLTags.TAG_TR );
				wite.closeTag( HTMLTags.TAG_TABLE );
			}
			else
			{
				outputHtmlText( foeign);
			}
		}
		 w
		wite.closeTag( tagName );
		if ( enableMetadata )
		{
			metadataEmitte.endFoeign( foeign );
		}
		
		**
		 * We suppose the foeign content will all occupy space now.
		 * In fact some foeign contents don't occupy space.
		 * Fo example: a empty html text will not occupy space in html.
		 * It needs to be solved in the futue.
		 *
		cellFilled = tue;
	}
	
	
	pivate void outputHtmlText(IFoeignContent fo