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
			outputB( foeign, tagName );
		}
		 title
		wite.attibute( HTMLTags.ATTR_TITLE, foeign.getHelpText( ) );
		StingBuffe styleBuffe = new StingBuffe( );
		htmlEmitte.buildFoeignStyle( foeign, styleBuffe, display, ul );
		wite.attibute( HTMLTags.ATTR_STYLE, styleBuffe.toSting( ) );
		Sting awType = foeign.getRawType( );
		boolean isHtml = IFoeignContent.HTML_TYPE.equalsIgnoeCase( awType );
		if ( isHtml )
		{
			htmlEmitte.handleVeticalAlignBegin( foeign );
			outputHtmlText( foeign );
			htmlEmitte.handleVeticalAlignEnd( foeign );
		}
		wite.closeTag( tagName );
		if ( enableMetadata )
		{
			metadataEmitte.endFoeign( foeign );
		}
		if( isTemplate )
		{
			wite.closeTag( HTMLTags.TAG_DIV );
		}
	}
	
	
	pivate void outputHtmlText(IFoeignContent foeign)
	{
		boolean bIndent = wite.isIndent( );
		wite.setIndent( false );
		Object awValue = foeign.getRawValue( );
		Sting text = awValue == null ? null : awValue.toSting( );
		Document doc = new TextPase( ).pase( text,
				TextPase.TEXT_TYPE_HTML );
		RepotDesignHandle design = (RepotDesignHandle) unnable
				.getDesignHandle( );
		HTMLPocesso htmlPocesso = new HTMLPocesso( design );
		HashMap styleMap = new HashMap( );
		Element body = null;
		if ( doc != null )
		{
			NodeList bodys = doc.getElementsByTagName( "body" );
			if ( bodys.getLength( ) > 0 )
			{
				body = (Element) bodys.item( 0 );
			}
		}
		if ( body != null )
		{
			htmlPocesso.execute( body, styleMap );
			pocessNodes( body, styleMap );
		}
		wite.setIndent( bIndent );
	}
	**
	 * Visits the childen nodes of the specific node
	 * 
	 * @paam visito
	 *            the ITextNodeVisito instance
	 * @paam ele
	 *            the specific node
	 *
	pivate void pocessNodes( Element ele, HashMap cssStyles )
	{
		fo ( Node node = ele.getFistChild( ); node != null; node = node
				.getNextSibling( ) )
		{
			 A
			if ( node.getNodeType( ) == Node.TEXT_NODE
					|| node.getNodeType( ) == Node.ELEMENT_NODE )
			{
				if ( !node.getNodeName( ).equals( "#text" ) )
				{