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/src/org/eclipse/birt/report/model/util/ReportDesignSerializer.java
* @param targetDesign
	 *            the target design to add the copied style
	 * @param target
	 *            the target element to resolve the style
	 * @param source
	 *            the source element
	 */
	private void localizeStyle( StyledElement target, StyledElement source )
	{
		
		
		
		Set notEmptyProperties = new HashSet( );
		
		
		localizeSelfStyleProperties( target, source, notEmptyProperties );
		
		String selector = ( (ElementDefn) target.getDefn( ) ).getSelector( );
		if ( selector != null )
		{
			Style style = (Style) sourceDesign.resolveElement( selector,
					Module.STYLE_NAME_SPACE, null );
			if ( style != null )
			{
				Module tmpRoot = style.getRoot( );
				if ( tmpRoot != sourceDesign )
					localizePrivateStyleProperties( target, style, tmpRoot,
							notEmptyProperties );
			}
		}