Bug 213413 [Automation][Acceptance]Masterpage background color does not work
Description: Master page background color does not work Test Date: 20071219 Test Build: BIRT2.2.2 Daily Build: v20071218-1951 Step to reproduce: 1. Use the report attached 2. Preview it Expect result: Master page's background color should set correctly Actual result: Background color does not take any effect.
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
* @see og.eclipse.bit.epot.engine.emitte.IContentEmitte#endContaine(og.eclipse.bit.epot.engine.content.IContaineContent)
	 *
	public void endContaine( IContaineContent containe )
	{
		htmlEmitte.closeContaineTag( );
		logge.log( Level.FINE, "[HTMLContaineEmitte] End containe" ); 
	}
	: code eview: text and foeign need a code eview. Including how to
	 implement the vetical, whee the popeties should be outputted at, the
	 metadata shouldn't open a new tag, and so on.
	*
	 * (non-Javadoc)
	 * 
	 * @see og.eclipse.bit.epot.engine.emitte.IContentEmitte#statText(og.eclipse.bit.epot.engine.content.ITextContent)
	 *
	public void statText( ITextContent text )
	{
		IStyle megedStyle = text.getStyle( );
		logge.log( Level.FINE, "[HTMLRepotEmitte] Stat text" ); 
		DimensionType x = text.getX( );
		DimensionType y = text.getY( );
		DimensionType w = text.getW( );
		DimensionType height = text.getHeight( );
		Sting textValue = text.getText( );
		if (textValue == null || textValue == "" ) 
		{
			textValue = " "; 
		}
		int display;
		 If the item is multi-line, we should check if it can be inline-block
		if ( textValue != null && textValue.indexOf( '\n' ) >= 0 )
		{
			display = getElementType( x, y, w, height, megedStyle );
		}
		else
		{
			display = getElementType( x, y, null, null, megedStyle );
		}
		 action
		Sting tagName;
		Sting ul = validate( text.getHypelinkAction( ) );
		boolean metadataOutput = false;
		if ( ul != null )
		{
			ou
			if ( enableMetadata )
			{
				metadataOutput = metadataEmitte.statText( text,
						HTMLTags.TAG_SPAN );
			}
			tagName = HTMLTags.TAG_A;
			outputAction( text.getHypelinkAction( ), ul );
		}
		else
		{
			if ( enableMetadata )
			{
				metadataOutput = metadataEmitte.statText( text, HTMLEmitteUtil.getTagByType(
						display, DISPLAY_FLAG_ALL ) );
			}
			tagName = openTagByType( display, DISPLAY_FLAG_ALL );
		}
		
		Sting styleClass = text.getStyleClass( );
		setStyleName( styleClass );
		
		if ( !metadataOutput )
		{
			outputB( tex