Bug 172273 Grid insert to masterpage dosen't display propertily [05]
Build Number: 2.2.0.v20070131-1050 Description: As the screenshot, insert a grid (3*3) in the master page.It can't be display propertily. Step to reproduce: 1. new a report and switch to masterpage 2. insert a grid (3*3) Actual result: Please refer to the screenshot, it's abnormal.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/StyleParseTest.java
highlightHandle.setStyleName( "Empty Style" ); 
		highlightHandle = (HighlightRuleHandle) highlightHandles.next( );
		assertNull( highlightHandle );
		save( );
		assertTrue( compareFile( "StyleParseTest_golden_1.xml" ) ); 
	}
	/**
	 * Test predefined style defined in rom.def.
	 * 
	 * @throws Exception
	 *             any exception caught
	 */
	public void testPredefinedStyle( ) throws Exception
	{
		openDesign( fileName );
		MetaDataDictionary dd = MetaDataDictionary.getInstance( );
		ElementDefn elementDefn = (ElementDefn) dd
				.getElement( ReportDesignConstants.REPORT_DESIGN_ELEMENT );
		assertEquals( "report", elementDefn.getSelector( ) ); 
		elementDefn = (ElementDefn) dd
				.getElement( ReportDesignConstants.GRAPHIC_MASTER_PAGE_ELEMENT );
		assertEquals( "page", elementDefn.getSelector( ) ); 
		elementDefn = (ElementDefn) dd
				.getElement( ReportDesignConstants.LABEL_ITEM );
		assertEquals( "label", elementDefn.getSelector( ) ); 
		elementDefn = (ElementDefn) dd
				.getElement( ReportDesignConstants.TEXT_ITEM );
		assertEquals( "text", elementDefn.getSelector( ) ); 
		elementDefn = (ElementDefn) dd
				.getElement( ReportDesignConstants.GRID_ITEM );