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
assertEquals( "grid", elementDefn.getSelector( ) ); 
		elementDefn = (ElementDefn) dd
				.getElement( ReportDesignConstants.FREE_FORM_ITEM );
		assertEquals( "free-form", elementDefn.getSelector( ) ); 
		elementDefn = (ElementDefn) dd
				.getElement( ReportDesignConstants.LINE_ITEM );
		assertEquals( "line", elementDefn.getSelector( ) ); 
		elementDefn = (ElementDefn) dd
				.getElement( ReportDesignConstants.RECTANGLE_ITEM );
		assertEquals( "rectangle", elementDefn.getSelector( ) ); 
		elementDefn = (ElementDefn) dd
				.getElement( ReportDesignConstants.LIST_ITEM );
		assertEquals( "list", elementDefn.getSelector( ) ); 
		assertEquals(
				"list-header", ( (SlotDefn) elementDefn.getSlot( ListItem.HEADER_SLOT ) ).getSelector( ) ); 
		assertEquals(
				"list-footer", ( (SlotDefn) elementDefn.getSlot( ListItem.FOOTER_SLOT ) ).getSelector( ) ); 
		assertEquals(
				"list-detail", ( (SlotDefn) elementDefn.getSlot( ListItem.DETAIL_SLOT ) ).getSelector( ) ); 
		elementDefn = (ElementDefn) dd
				.getElement( ReportDesignConstants.LIST_GROUP_ELEMENT );
		assertEquals( null, elementDefn.getSelector( ) );
		assertEquals(
				"list-group-header", ( (SlotDefn) elementDefn.getSlot( ListGroup.HEADER_SLOT ) ).getSelector( ) ); 
		assertEquals(
				"list-group-footer", ( (SlotDefn) elementDefn.getSlot( ListGroup.FOOTER_SLOT ) ).getSelector( ) ); 
		elementDefn = (ElementDefn) dd
				.getElement( ReportDesignConstants.TABLE_ITEM );
		assertEquals( "table", elementDefn.getSelector( ) ); 
		assertEquals(