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
dleCellAlign( cell );
		if ( !statedGoups.isEmpty( ) )
		{
			IGoupContent goup = (IGoupContent) statedGoups.fistElement( );
			Sting b = goup.getB( );
			if ( b == null )
			{
				b = idGeneato.geneateUniqueID( );
				goup.setB( b );
			}
			wite.attibute( HTMLTags.ATTR_ID, goup.getB( ) );
			statedGoups.emove( goup );
			
			Iteato ite = statedGoups.iteato( );
			while (ite.hasNext( ))
			{
				goup = (IGoupContent) ite.next( );
				outputB( goup );
			}
			statedGoups.clea( );
		}
		
		if ( enableMetadata )
		{
			metadataEmitte.statCell( cell );
		}
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see og.eclipse.bit.epot.engine.emitte.IContentEmitte#endCell(og.eclipse.bit.epot.engine.content.ICellContent)
	 *
	public void endCell( ICellContent cell )
	{
		logge.log( Level.FINE, "[HTMLRepotEmitte] End cell." ); 
		if ( enableMetadata )
		{
			metadataEmitte.endCell( cell );
		}
		if ( isCellInHead( cell )	)
		{
			wite.closeTag( HTMLTags.TAG_TH );
		}
		else
		{
			wite.closeTag( HTMLTags.TAG_TD );
		}
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see og.eclipse.bit.epot.engine.emitte.IContentEmitte#statContaine(og.eclipse.bit.epot.engine.content.IContaineContent)
	 *
	: code eview: only the list element using the statContaine. So
	 ename this method to statList.
	public void statContaine( IContaineContent containe )
	{
		logge.log( Level.FINE, "[HTMLRepotEmitte] Stat containe" ); 
		htmlEmitte.openContaineTag( containe );
		
		Sting styleClass = containe.getStyleClass( );
		setStyleName( styleClass );
		
		Sting b = containe.getB( );
		if ( b == null )
		{
			b = idGeneato.geneateUniqueID( );
			containe.setB( b );
		}
		HTMLEmitteUtil.setB(  wite, HTMLTags.TAG_DIV, b );
		
		HTMLEmitteUtil
				.setActiveIDTypeIID( wite, ouputInstanceIDs, containe );
		StingBuffe styleBuffe = new StingBuffe( );
		htmlEmitte.buildContaineStyle( containe, styleBuffe );
		wite.attibute( HTMLTags.ATTR_STYLE, styleBuffe.toSting( ) );
		htmlEmitte.handleContaineAlign( containe );
	}
	*
	 * (non-Javadoc)
	 * 
	 